Class ListType<T>
- java.lang.Object
-
- org.apache.cassandra.spark.common.schema.CollectionType<T,ListType.CQLListEntry<T>>
-
- org.apache.cassandra.spark.common.schema.ListType<T>
-
- All Implemented Interfaces:
java.io.Serializable,ColumnType<java.util.Collection<T>>
public class ListType<T> extends CollectionType<T,ListType.CQLListEntry<T>>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListType.CQLListEntry<T>
-
Field Summary
Fields Modifier and Type Field Description ColumnType<T>elementType
-
Constructor Summary
Constructors Constructor Description ListType(ColumnType<T> elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>finaliseCollection(java.util.List<ListType.CQLListEntry<T>> entryList)ListType.CQLListEntry<T>parseCollectionColumn(java.nio.ByteBuffer colNameSuffix, java.nio.ByteBuffer colValue)-
Methods inherited from class org.apache.cassandra.spark.common.schema.CollectionType
parseColumn, serialize
-
-
-
-
Field Detail
-
elementType
public final ColumnType<T> elementType
-
-
Constructor Detail
-
ListType
public ListType(ColumnType<T> elementType)
-
-
Method Detail
-
parseCollectionColumn
public ListType.CQLListEntry<T> parseCollectionColumn(java.nio.ByteBuffer colNameSuffix, java.nio.ByteBuffer colValue)
- Specified by:
parseCollectionColumnin classCollectionType<T,ListType.CQLListEntry<T>>
-
finaliseCollection
public java.util.List<T> finaliseCollection(java.util.List<ListType.CQLListEntry<T>> entryList)
- Specified by:
finaliseCollectionin classCollectionType<T,ListType.CQLListEntry<T>>
-
-