org.apache.cassandra.cql3
Class Lists.Value

java.lang.Object
  extended by org.apache.cassandra.cql3.Term.Terminal
      extended by org.apache.cassandra.cql3.Lists.Value
All Implemented Interfaces:
Term
Enclosing class:
Lists

public static class Lists.Value
extends Term.Terminal


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.Term
Term.NonTerminal, Term.Raw, Term.Terminal
 
Field Summary
 java.util.List<java.nio.ByteBuffer> elements
           
 
Constructor Summary
Lists.Value(java.util.List<java.nio.ByteBuffer> elements)
           
 
Method Summary
static Lists.Value fromSerialized(java.nio.ByteBuffer value, ListType type)
           
 java.nio.ByteBuffer get()
           
 
Methods inherited from class org.apache.cassandra.cql3.Term.Terminal
bind, bindAndGet, collectMarkerSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

public final java.util.List<java.nio.ByteBuffer> elements
Constructor Detail

Lists.Value

public Lists.Value(java.util.List<java.nio.ByteBuffer> elements)
Method Detail

fromSerialized

public static Lists.Value fromSerialized(java.nio.ByteBuffer value,
                                         ListType type)
                                  throws InvalidRequestException
Throws:
InvalidRequestException

get

public java.nio.ByteBuffer get()
Specified by:
get in class Term.Terminal
Returns:
the serialized value of this terminal.


Copyright © 2013 The Apache Software Foundation