public class UserType extends CompositeType
CompositeType.Builder
AbstractCompositeType.CompositeComponent, AbstractCompositeType.ParsedComparator
Modifier and Type | Field and Description |
---|---|
java.util.List<java.nio.ByteBuffer> |
columnNames |
java.lang.String |
keyspace |
java.nio.ByteBuffer |
name |
types
reverseComparator
Constructor and Description |
---|
UserType(java.lang.String keyspace,
java.nio.ByteBuffer name,
java.util.List<java.nio.ByteBuffer> columnNames,
java.util.List<AbstractType<?>> types) |
Modifier and Type | Method and Description |
---|---|
CQL3Type |
asCQL3Type() |
boolean |
equals(java.lang.Object o) |
static UserType |
getInstance(TypeParser parser) |
int |
hashCode() |
java.lang.String |
toString()
This must be overriden by subclasses if necessary so that for any
AbstractType, this == TypeParser.parse(toString()).
|
build, builder, componentsCount, decompose, extractComponent, extractLastComponent, getAndAppendComparator, getComparator, getComparator, getComponents, getInstance, getInstance, isCompatibleWith, isValueCompatibleWith, parseComparator, split, validateComparator
compare, deconstruct, escape, fromString, getBytes, getSerializer, getShortLength, getString, getWithShortLength, putShortLength, validate
compareCollectionMembers, compose, decompose, fromStringCQL2, getString, isCollection, isCounter, parseDefaultParameters, validateCollectionMember
public final java.lang.String keyspace
public final java.nio.ByteBuffer name
public final java.util.List<java.nio.ByteBuffer> columnNames
public UserType(java.lang.String keyspace, java.nio.ByteBuffer name, java.util.List<java.nio.ByteBuffer> columnNames, java.util.List<AbstractType<?>> types)
public static UserType getInstance(TypeParser parser) throws ConfigurationException, SyntaxException
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object o)
equals
in interface java.util.Comparator<java.nio.ByteBuffer>
equals
in class java.lang.Object
public CQL3Type asCQL3Type()
asCQL3Type
in class AbstractType<java.nio.ByteBuffer>
public java.lang.String toString()
AbstractType
toString
in class CompositeType
Copyright © 2014 The Apache Software Foundation