java.lang.Object | |
↳ | com.netflix.astyanax.model.ColumnPath<C> |
This class is deprecated.
Super columns should be replaced with composite columns
Container for a path within a row. The path is essentially a list of columns in hierarchical order. Paths can have any column name type which is eventually converted to a ByteBuffer. When querying a super column the path must also include a serializer for the sub columns names. The serializer is not needed when reading a subcolumn or standard column. The current Cassandra implementation only supports a path depth of 2. C - Serializer for column names at the end of the path. For super columns. C2 - Serializer for a column name that is part of the path
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an empty path and give it the serializer for column names at
the end of the path.
| |||||||||||
Construct a column path for a mutation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a depth to the path
| |||||||||||
Get a path element from a specific depth
| |||||||||||
Returns the last element in the path.
| |||||||||||
Return serializer for column names at the end of the path
| |||||||||||
Return the path 'depth'
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
|
Construct an empty path and give it the serializer for column names at the end of the path. Use this constructor when performing a query
Construct a column path for a mutation. The serializer for the column names at the end of the path is not necessary.
Get a path element from a specific depth
Returns the last element in the path. This is usually the column name being queried or modified.
Return the path 'depth'