org.apache.cassandra.avro
Class AvroRecordFactory
java.lang.Object
org.apache.cassandra.avro.AvroRecordFactory
public class AvroRecordFactory
- extends java.lang.Object
Method Summary |
static org.apache.cassandra.avro.Column |
newColumn(byte[] name,
byte[] value,
long timestamp)
|
static org.apache.cassandra.avro.Column |
newColumn(java.nio.ByteBuffer name,
java.nio.ByteBuffer value,
long timestamp)
|
static org.apache.cassandra.avro.ColumnOrSuperColumn |
newColumnOrSuperColumn(org.apache.cassandra.avro.Column column)
|
static org.apache.cassandra.avro.ColumnOrSuperColumn |
newColumnOrSuperColumn(org.apache.cassandra.avro.SuperColumn superColumn)
|
static org.apache.cassandra.avro.ColumnParent |
newColumnParent(java.lang.String cfName,
byte[] superColumn)
|
static org.apache.cassandra.avro.ColumnPath |
newColumnPath(java.lang.String cfName,
byte[] superColumn,
byte[] column)
|
static org.apache.cassandra.avro.ColumnPath |
newColumnPath(java.lang.String cfName,
java.nio.ByteBuffer superColumn,
java.nio.ByteBuffer column)
|
static org.apache.cassandra.avro.CoscsMapEntry |
newCoscsMapEntry(java.nio.ByteBuffer key,
org.apache.avro.generic.GenericArray<org.apache.cassandra.avro.ColumnOrSuperColumn> columns)
|
static org.apache.cassandra.avro.KeySlice |
newKeySlice(java.nio.ByteBuffer key,
java.util.List<org.apache.cassandra.avro.ColumnOrSuperColumn> columns)
|
static org.apache.cassandra.avro.SuperColumn |
newSuperColumn(byte[] name,
java.util.List<org.apache.cassandra.avro.Column> columns)
|
static org.apache.cassandra.avro.SuperColumn |
newSuperColumn(java.nio.ByteBuffer name,
java.util.List<org.apache.cassandra.avro.Column> columns)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvroRecordFactory
public AvroRecordFactory()
newColumn
public static org.apache.cassandra.avro.Column newColumn(java.nio.ByteBuffer name,
java.nio.ByteBuffer value,
long timestamp)
newColumn
public static org.apache.cassandra.avro.Column newColumn(byte[] name,
byte[] value,
long timestamp)
newSuperColumn
public static org.apache.cassandra.avro.SuperColumn newSuperColumn(java.nio.ByteBuffer name,
java.util.List<org.apache.cassandra.avro.Column> columns)
newSuperColumn
public static org.apache.cassandra.avro.SuperColumn newSuperColumn(byte[] name,
java.util.List<org.apache.cassandra.avro.Column> columns)
newColumnOrSuperColumn
public static org.apache.cassandra.avro.ColumnOrSuperColumn newColumnOrSuperColumn(org.apache.cassandra.avro.Column column)
newColumnOrSuperColumn
public static org.apache.cassandra.avro.ColumnOrSuperColumn newColumnOrSuperColumn(org.apache.cassandra.avro.SuperColumn superColumn)
newColumnPath
public static org.apache.cassandra.avro.ColumnPath newColumnPath(java.lang.String cfName,
java.nio.ByteBuffer superColumn,
java.nio.ByteBuffer column)
newColumnPath
public static org.apache.cassandra.avro.ColumnPath newColumnPath(java.lang.String cfName,
byte[] superColumn,
byte[] column)
newColumnParent
public static org.apache.cassandra.avro.ColumnParent newColumnParent(java.lang.String cfName,
byte[] superColumn)
newCoscsMapEntry
public static org.apache.cassandra.avro.CoscsMapEntry newCoscsMapEntry(java.nio.ByteBuffer key,
org.apache.avro.generic.GenericArray<org.apache.cassandra.avro.ColumnOrSuperColumn> columns)
newKeySlice
public static org.apache.cassandra.avro.KeySlice newKeySlice(java.nio.ByteBuffer key,
java.util.List<org.apache.cassandra.avro.ColumnOrSuperColumn> columns)
Copyright © 2010 The Apache Software Foundation