java.lang.Object | |
↳ | com.netflix.astyanax.serializers.SerializerPackageImpl |
Basic implementation of SerializerPackage which can be configured either from a ColumnFamilyDefinition or by manually setting either the ComparatorType or Serializer for keys, columns and values. Use this in conjunction with the CSV uploader to specify how values are serializer.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEFAULT_SERIALIZER_PACKAGE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a serializer package from a column family definition retrieved
from the keyspace.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert a string column name to a ByteBuffer using the package's column
serializer
| |||||||||||
Convert a column name to a string using the package's column serializer
| |||||||||||
Return serializer for column names
| |||||||||||
Return the set of supported column names
| |||||||||||
Return the value serializer for the specified column name
| |||||||||||
Return the value serializer for the specified column name
| |||||||||||
Return the default value serializer
| |||||||||||
Return the serializer for keys
| |||||||||||
Convert a string key to a ByteBuffer using the package's key serializer
| |||||||||||
Convert a key to a string using the package's key serializer
| |||||||||||
Convert a string value to a string using the package's value serializer
| |||||||||||
Convert a string value to a string using the package's value serializer
| |||||||||||
Convert a value to a string using the package's value serializer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.netflix.astyanax.SerializerPackage
|
Construct a serializer package from a column family definition retrieved from the keyspace. This is the preferred method of initialing the serializer since it most closely matches the validators and comparator type set in cassandra.
UnknownComparatorException |
---|
Convert a string column name to a ByteBuffer using the package's column serializer
Convert a column name to a string using the package's column serializer
Return the value serializer for the specified column name
Return the value serializer for the specified column name
Convert a string key to a ByteBuffer using the package's key serializer
Convert a key to a string using the package's key serializer
UnknownComparatorException |
---|
UnknownComparatorException |
---|
UnknownComparatorException |
---|
UnknownComparatorException |
---|
Convert a string value to a string using the package's value serializer
Convert a string value to a string using the package's value serializer
Convert a value to a string using the package's value serializer. Will use either a column specific serializer, if one was specified, or the default value serializer.