org.apache.cassandra.cql3
Class ColumnIdentifier
java.lang.Object
org.apache.cassandra.cql3.ColumnIdentifier
- All Implemented Interfaces:
- java.lang.Comparable<ColumnIdentifier>, Selector
public class ColumnIdentifier
- extends java.lang.Object
- implements java.lang.Comparable<ColumnIdentifier>, Selector
Represents an identifer for a CQL column definition.
Field Summary |
java.nio.ByteBuffer |
key
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
key
public final java.nio.ByteBuffer key
ColumnIdentifier
public ColumnIdentifier(java.lang.String rawText,
boolean keepCase)
ColumnIdentifier
public ColumnIdentifier(java.nio.ByteBuffer key,
AbstractType type)
hashCode
public final int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(ColumnIdentifier other)
- Specified by:
compareTo
in interface java.lang.Comparable<ColumnIdentifier>
id
public ColumnIdentifier id()
- Specified by:
id
in interface Selector
hasFunction
public boolean hasFunction()
- Specified by:
hasFunction
in interface Selector
function
public Selector.Function function()
- Specified by:
function
in interface Selector
Copyright © 2012 The Apache Software Foundation