org.apache.cassandra.cql3
Class ParsedType.Collection

java.lang.Object
  extended by org.apache.cassandra.cql3.ParsedType.Collection
All Implemented Interfaces:
ParsedType
Enclosing interface:
ParsedType

public static class ParsedType.Collection
extends java.lang.Object
implements ParsedType


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.ParsedType
ParsedType.Collection, ParsedType.Custom, ParsedType.Native
 
Method Summary
 AbstractType<?> getType()
           
 boolean isCollection()
           
static ParsedType.Collection list(ParsedType t)
           
static ParsedType.Collection map(ParsedType t1, ParsedType t2)
           
static ParsedType.Collection set(ParsedType t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

map

public static ParsedType.Collection map(ParsedType t1,
                                        ParsedType t2)
                                 throws InvalidRequestException
Throws:
InvalidRequestException

list

public static ParsedType.Collection list(ParsedType t)
                                  throws InvalidRequestException
Throws:
InvalidRequestException

set

public static ParsedType.Collection set(ParsedType t)
                                 throws InvalidRequestException
Throws:
InvalidRequestException

isCollection

public boolean isCollection()
Specified by:
isCollection in interface ParsedType

getType

public AbstractType<?> getType()
Specified by:
getType in interface ParsedType


Copyright © 2012 The Apache Software Foundation