|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Bytes | |
---|---|
org.scale7.cassandra.pelops |
Uses of Bytes in org.scale7.cassandra.pelops |
---|
Fields in org.scale7.cassandra.pelops declared as Bytes | |
---|---|
static Bytes |
Bytes.EMPTY
|
static Bytes |
Bytes.NULL
|
protected Bytes |
PageOfIterator.rowKey
|
protected Bytes |
PageOfIterator.startBeyondName
|
Methods in org.scale7.cassandra.pelops that return Bytes | |
---|---|
Bytes |
Bytes.duplicate()
Returns a duplicate of the bytes instance. |
static Bytes |
Bytes.fromBoolean(boolean value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromBoolean(Boolean value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromByte(byte value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromByte(Byte value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromByteArray(byte[] value)
Creates an instance based on the provided byte array. |
static Bytes |
Bytes.fromByteBuffer(ByteBuffer value)
Creates an instance based on the provided byte buffer. |
static Bytes |
Bytes.fromBytes(byte[] value)
Creates an instance based on the provided byte array. |
static Bytes |
Bytes.fromChar(char value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromChar(Character value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromDouble(double value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromDouble(Double value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromFloat(float value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromFloat(Float value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromInt(int value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromInt(Integer value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromLong(long value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromLong(Long value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromShort(short value)
Creates an instance based on the provided value. |
static Bytes |
Bytes.fromShort(Short value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromTimeUuid(long time,
long clockSeqAndNode)
Creates an instance based on the provided values. |
static Bytes |
Bytes.fromTimeUuid(String value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromTimeUuid(com.eaio.uuid.UUID value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromUTF8(String value)
Creates an instance based on the provided value in UTF-8 format handling nulls. |
static Bytes |
Bytes.fromUuid(long msb,
long lsb)
Creates an instance based on the provided values. |
static Bytes |
Bytes.fromUuid(String value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Bytes.fromUuid(UUID value)
Creates an instance based on the provided value handling nulls. |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName)
Get the value of a column in a list of columns |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName,
Bytes defaultValue)
Get the value of a column in a list of columns |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
String colName)
Get the value of a column in a list of columns |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
String colName,
Bytes defaultValue)
Get the value of a column in a list of columns |
Bytes |
Mutator.getMutationTimestamp(boolean microsToMillis)
Get the default time stamp used by this Mutator instance as a byte[]. |
protected Bytes |
ColumnIterator.nextStartBeyondName(List<org.apache.cassandra.thrift.Column> batch)
|
protected abstract Bytes |
PageOfIterator.nextStartBeyondName(List<E> batch)
|
protected Bytes |
SuperColumnIterator.nextStartBeyondName(List<org.apache.cassandra.thrift.SuperColumn> batch)
|
Methods in org.scale7.cassandra.pelops that return types with arguments of type Bytes | |
---|---|
protected Map<Bytes,Map<String,List<org.apache.cassandra.thrift.Mutation>>> |
Mutator.getBatch()
|
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getColumnsFromRows(String columnFamily,
org.apache.cassandra.thrift.KeyRange keyRange,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve columns from a range of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve columns from a set of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getIndexedColumns(org.apache.cassandra.thrift.ColumnParent colParent,
org.apache.cassandra.thrift.IndexClause indexClause,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve columns from a range of indexed rows using its secondary index. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getIndexedColumns(String colParent,
org.apache.cassandra.thrift.IndexClause indexClause,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve columns from a range of indexed rows using its secondary index. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
org.apache.cassandra.thrift.KeyRange keyRange,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a range of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
org.apache.cassandra.thrift.KeyRange keyRange,
String superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a range of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a set of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
String superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a set of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.SuperColumn>> |
Selector.getSuperColumnsFromRows(String columnFamily,
org.apache.cassandra.thrift.KeyRange keyRange,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve super columns from a range of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.SuperColumn>> |
Selector.getSuperColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve super columns from a set of rows. |
Methods in org.scale7.cassandra.pelops with parameters of type Bytes | |
---|---|
static boolean |
Selector.columnExists(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName)
Determines if a column with a particular name exist in the list of columns. |
Mutator |
Mutator.deleteColumn(String colFamily,
Bytes rowKey,
Bytes colName)
Delete a column or super column. |
Mutator |
Mutator.deleteColumn(String colFamily,
String rowKey,
Bytes colName)
Delete a column or super column. |
Mutator |
Mutator.deleteColumns(String colFamily,
Bytes rowKey,
Bytes... colNames)
Delete a list of columns or super columns. |
Mutator |
Mutator.deleteColumns(String colFamily,
Bytes rowKey,
Bytes... colNames)
Delete a list of columns or super columns. |
Mutator |
Mutator.deleteColumns(String colFamily,
Bytes rowKey,
List<Bytes> colNames)
Delete a list of columns or super columns. |
Mutator |
Mutator.deleteColumns(String colFamily,
String rowKey,
Bytes... colNames)
Delete a list of columns or super columns. |
void |
RowDeletor.deleteRow(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Delete a row with a specified key from a specified column family. |
Mutator |
Mutator.deleteSubColumn(String colFamily,
Bytes rowKey,
Bytes colName,
Bytes subColName)
Delete a column or super column. |
Mutator |
Mutator.deleteSubColumn(String colFamily,
String rowKey,
Bytes colName,
Bytes subColName)
Delete a column or super column. |
Mutator |
Mutator.deleteSubColumn(String colFamily,
String rowKey,
Bytes colName,
String subColName)
Delete a column or super column. |
Mutator |
Mutator.deleteSubColumn(String colFamily,
String rowKey,
String colName,
Bytes subColName)
Delete a column or super column. |
Mutator |
Mutator.deleteSubColumns(String colFamily,
Bytes rowKey,
Bytes colName,
List<Bytes> subColNames)
Delete a list of sub-columns |
Mutator |
Mutator.deleteSubColumns(String colFamily,
Bytes rowKey,
Bytes colName,
String... subColNames)
Delete a list of sub-columns |
Mutator |
Mutator.deleteSubColumns(String colFamily,
String rowKey,
Bytes colName)
Delete all sub-columns |
Mutator |
Mutator.deleteSubColumns(String colFamily,
String rowKey,
Bytes colName,
List<Bytes> subColNames)
Delete a list of sub-columns |
Mutator |
Mutator.deleteSubColumns(String colFamily,
String rowKey,
Bytes colName,
String... subColNames)
Delete a list of sub-columns |
int |
Selector.getColumnCount(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of columns in a row. |
int |
Selector.getColumnCount(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of columns in a row. |
org.apache.cassandra.thrift.Column |
Selector.getColumnFromRow(String columnFamily,
Bytes rowKey,
Bytes colName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a column from a row. |
org.apache.cassandra.thrift.Column |
Selector.getColumnFromRow(String columnFamily,
String rowKey,
Bytes colName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a column from a row. |
List<org.apache.cassandra.thrift.Column> |
Selector.getColumnsFromRow(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve columns from a row. |
static String |
Selector.getColumnStringValue(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName)
Get the value of a column in a list of columns |
static long |
Selector.getColumnTimestamp(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName)
Get the time stamp of a column in a list of columns. |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName)
Get the value of a column in a list of columns |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName,
Bytes defaultValue)
Get the value of a column in a list of columns |
static String |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
Bytes colName,
String defaultValue)
Get the value of a column in a list of columns |
static Bytes |
Selector.getColumnValue(List<org.apache.cassandra.thrift.Column> columns,
String colName,
Bytes defaultValue)
Get the value of a column in a list of columns |
protected org.scale7.cassandra.pelops.Mutator.MutationList |
Mutator.getMutationList(String colFamily,
Bytes key)
|
List<org.apache.cassandra.thrift.Column> |
Selector.getPageOfColumnsFromRow(String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int count,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a page of columns composed from a segment of the sequence of columns in a row. |
List<org.apache.cassandra.thrift.Column> |
Selector.getPageOfColumnsFromRow(String columnFamily,
Bytes rowKey,
String startBeyondName,
boolean reversed,
int count,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a page of columns composed from a segment of the sequence of columns in a row. |
List<org.apache.cassandra.thrift.Column> |
Selector.getPageOfColumnsFromRow(String columnFamily,
String rowKey,
Bytes startBeyondName,
boolean reversed,
int count,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a page of columns composed from a segment of the sequence of columns in a row. |
List<org.apache.cassandra.thrift.SuperColumn> |
Selector.getPageOfSuperColumnsFromRow(String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int count,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a page of super columns composed from a segment of the sequence of super columns in a row. |
List<org.apache.cassandra.thrift.SuperColumn> |
Selector.getPageOfSuperColumnsFromRow(String columnFamily,
Bytes rowKey,
String startBeyondName,
boolean reversed,
int count,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a page of super columns composed from a segment of the sequence of super columns in a row. |
List<org.apache.cassandra.thrift.SuperColumn> |
Selector.getPageOfSuperColumnsFromRow(String columnFamily,
String rowKey,
Bytes startBeyondName,
boolean reversed,
int count,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a page of super columns composed from a segment of the sequence of super columns in a row. |
int |
Selector.getSubColumnCount(String columnFamily,
Bytes rowKey,
Bytes superColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of sub-columns inside a super column in a row. |
int |
Selector.getSubColumnCount(String columnFamily,
Bytes rowKey,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of sub-columns inside a super column in a row. |
int |
Selector.getSubColumnCount(String columnFamily,
Bytes rowKey,
String superColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of sub-columns inside a super column in a row. |
int |
Selector.getSubColumnCount(String columnFamily,
Bytes rowKey,
String superColName,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of sub-columns inside a super column in a row. |
int |
Selector.getSubColumnCount(String columnFamily,
String rowKey,
Bytes superColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of sub-columns inside a super column in a row. |
int |
Selector.getSubColumnCount(String columnFamily,
String rowKey,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of sub-columns inside a super column in a row. |
org.apache.cassandra.thrift.Column |
Selector.getSubColumnFromRow(String columnFamily,
Bytes rowKey,
Bytes superColName,
Bytes subColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a sub column from a super column in a row. |
org.apache.cassandra.thrift.Column |
Selector.getSubColumnFromRow(String columnFamily,
String rowKey,
Bytes superColName,
Bytes subColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a sub column from a super column in a row. |
org.apache.cassandra.thrift.Column |
Selector.getSubColumnFromRow(String columnFamily,
String rowKey,
Bytes superColName,
String subColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a sub column from a super column in a row. |
org.apache.cassandra.thrift.Column |
Selector.getSubColumnFromRow(String columnFamily,
String rowKey,
String superColName,
Bytes subColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a sub column from a super column in a row. |
List<org.apache.cassandra.thrift.Column> |
Selector.getSubColumnsFromRow(String columnFamily,
Bytes rowKey,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a row. |
List<org.apache.cassandra.thrift.Column> |
Selector.getSubColumnsFromRow(String columnFamily,
String rowKey,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a row. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
org.apache.cassandra.thrift.KeyRange keyRange,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a range of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a set of rows. |
Map<String,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRowsUtf8Keys(String columnFamily,
org.apache.cassandra.thrift.KeyRange keyRange,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a range of rows. |
Map<String,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRowsUtf8Keys(String columnFamily,
List<String> rowKeys,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a set of rows. |
static org.apache.cassandra.thrift.SuperColumn |
Selector.getSuperColumn(List<org.apache.cassandra.thrift.SuperColumn> superColumns,
Bytes superColName)
Get a super column by name from a list of super columns |
int |
Selector.getSuperColumnCount(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of super columns in a row. |
int |
Selector.getSuperColumnCount(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.SlicePredicate predicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Get the count of super columns in a row. |
org.apache.cassandra.thrift.SuperColumn |
Selector.getSuperColumnFromRow(String columnFamily,
Bytes rowKey,
Bytes superColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a super column from a row. |
org.apache.cassandra.thrift.SuperColumn |
Selector.getSuperColumnFromRow(String columnFamily,
String rowKey,
Bytes superColName,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve a super column from a row. |
List<org.apache.cassandra.thrift.SuperColumn> |
Selector.getSuperColumnsFromRow(String columnFamily,
Bytes rowKey,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve super columns from a row. |
Iterator<org.apache.cassandra.thrift.Column> |
Selector.iterateColumnsFromRow(String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int batchSize,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Returns an iterator that can be used to iterate over super columns. |
Iterator<org.apache.cassandra.thrift.SuperColumn> |
Selector.iterateSuperColumnsFromRow(String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int batchSize,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Returns an iterator that can be used to iterate over super columns. |
org.apache.cassandra.thrift.Column |
Mutator.newColumn(Bytes colName,
Bytes colValue)
Create new Column object with the time stamp passed to the constructor |
org.apache.cassandra.thrift.Column |
Mutator.newColumn(Bytes colName,
Bytes colValue,
int ttl)
Create new Column object with the time stamp passed to the constructor |
org.apache.cassandra.thrift.Column |
Mutator.newColumn(Bytes colName,
String colValue)
Create new Column object with the time stamp passed to the constructor |
org.apache.cassandra.thrift.Column |
Mutator.newColumn(Bytes colName,
String colValue,
int ttl)
Create new Column object with the time stamp passed to the constructor |
org.apache.cassandra.thrift.Column |
Mutator.newColumn(String colName,
Bytes colValue)
Create new Column object with the time stamp passed to the constructor |
org.apache.cassandra.thrift.Column |
Mutator.newColumn(String colName,
Bytes colValue,
int ttl)
Create new Column object with the time stamp passed to the constructor |
static org.apache.cassandra.thrift.SlicePredicate |
Selector.newColumnsPredicate(Bytes... colNames)
Create a new SlicePredicate instance. |
static org.apache.cassandra.thrift.SlicePredicate |
Selector.newColumnsPredicate(Bytes startName,
Bytes finishName,
boolean reversed,
int maxColCount)
Create a new SlicePredicate instance. |
static org.apache.cassandra.thrift.IndexClause |
Selector.newIndexClause(Bytes startName,
int count,
org.apache.cassandra.thrift.IndexExpression... expressions)
Create a new IndexClause instance. |
static org.apache.cassandra.thrift.IndexExpression |
Selector.newIndexExpression(Bytes colName,
org.apache.cassandra.thrift.IndexOperator op,
Bytes value)
Create a new IndexExpression instance. |
static org.apache.cassandra.thrift.IndexExpression |
Selector.newIndexExpression(String colName,
org.apache.cassandra.thrift.IndexOperator op,
Bytes value)
Create a new IndexExpression instance. |
static org.apache.cassandra.thrift.KeyRange |
Selector.newKeyRange(Bytes startKey,
Bytes finishKey,
int maxKeyCount)
Create a new KeyRange instance. |
static ByteBuffer |
Bytes.nullSafeGet(Bytes bytes)
Returns the underlying byte array of the provided bytes instance or null if the provided instance was null. |
static boolean |
Selector.superColumnExists(List<org.apache.cassandra.thrift.SuperColumn> superColumns,
Bytes superColName)
Determines if a super column with a particular name exist in the list of super columns. |
Mutator |
Mutator.writeColumn(String colFamily,
Bytes rowKey,
org.apache.cassandra.thrift.Column column)
Write a column value. |
Mutator |
Mutator.writeColumn(String colFamily,
Bytes rowKey,
org.apache.cassandra.thrift.Column column,
boolean deleteIfNullValue)
Write a column value. |
Mutator |
Mutator.writeColumns(String colFamily,
Bytes rowKey,
List<org.apache.cassandra.thrift.Column> columns)
Write a list of columns to a key |
Mutator |
Mutator.writeColumns(String colFamily,
Bytes rowKey,
List<org.apache.cassandra.thrift.Column> columns,
boolean deleteIfNullValue)
Write a list of columns to a key. |
Mutator |
Mutator.writeSubColumn(String colFamily,
Bytes rowKey,
Bytes colName,
org.apache.cassandra.thrift.Column subColumn)
Write a single sub-column value to a super column. |
Mutator |
Mutator.writeSubColumn(String colFamily,
String rowKey,
Bytes colName,
org.apache.cassandra.thrift.Column subColumn)
Write a single sub-column value to a super column. |
Mutator |
Mutator.writeSubColumns(String colFamily,
Bytes rowKey,
Bytes colName,
List<org.apache.cassandra.thrift.Column> subColumns)
Write multiple sub-column values to a super column. |
Mutator |
Mutator.writeSubColumns(String colFamily,
Bytes rowKey,
Bytes colName,
List<org.apache.cassandra.thrift.Column> subColumns,
boolean deleteIfNullValue)
Write multiple sub-column values to a super column. |
Mutator |
Mutator.writeSubColumns(String colFamily,
String rowKey,
Bytes colName,
List<org.apache.cassandra.thrift.Column> subColumns)
Write multiple sub-column values to a super column. |
Method parameters in org.scale7.cassandra.pelops with type arguments of type Bytes | |
---|---|
Mutator |
Mutator.deleteColumns(String colFamily,
Bytes rowKey,
List<Bytes> colNames)
Delete a list of columns or super columns. |
Mutator |
Mutator.deleteColumns(String colFamily,
String rowKey,
List<Bytes> colNames)
Delete a list of columns or super columns. |
Mutator |
Mutator.deleteSubColumns(String colFamily,
Bytes rowKey,
Bytes colName,
List<Bytes> subColNames)
Delete a list of sub-columns |
Mutator |
Mutator.deleteSubColumns(String colFamily,
String rowKey,
Bytes colName,
List<Bytes> subColNames)
Delete a list of sub-columns |
Mutator |
Mutator.deleteSubColumns(String colFamily,
String rowKey,
String colName,
List<Bytes> subColNames)
Delete a list of sub-columns |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve columns from a set of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
Bytes superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a set of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.Column>> |
Selector.getSubColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
String superColName,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve sub-columns from a super column in a set of rows. |
Map<Bytes,List<org.apache.cassandra.thrift.SuperColumn>> |
Selector.getSuperColumnsFromRows(String columnFamily,
List<Bytes> rowKeys,
org.apache.cassandra.thrift.SlicePredicate colPredicate,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
Retrieve super columns from a set of rows. |
static List<ByteBuffer> |
Bytes.transformBytesToList(Collection<Bytes> arrays)
Transforms the provided list of Bytes instances into a list of byte arrays. |
static Set<ByteBuffer> |
Bytes.transformBytesToSet(Collection<Bytes> arrays)
Transforms the provided list of Bytes instances into a list of byte arrays. |
Constructors in org.scale7.cassandra.pelops with parameters of type Bytes | |
---|---|
PageOfIterator(Selector selector,
String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int batchSize,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
|
|
SuperColumnIterator(Selector selector,
String columnFamily,
Bytes rowKey,
Bytes startBeyondName,
boolean reversed,
int batchSize,
org.apache.cassandra.thrift.ConsistencyLevel cLevel)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |