org.apache.cassandra.cql3
Class Sets.Value

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

public static class Sets.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.Set<java.nio.ByteBuffer> elements
           
 
Constructor Summary
Sets.Value(java.util.Set<java.nio.ByteBuffer> elements)
           
 
Method Summary
static Sets.Value fromSerialized(java.nio.ByteBuffer value, SetType 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.Set<java.nio.ByteBuffer> elements
Constructor Detail

Sets.Value

public Sets.Value(java.util.Set<java.nio.ByteBuffer> elements)
Method Detail

fromSerialized

public static Sets.Value fromSerialized(java.nio.ByteBuffer value,
                                        SetType 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