org.apache.cassandra.cql3
Enum ParsedType.Native
java.lang.Object
java.lang.Enum<ParsedType.Native>
org.apache.cassandra.cql3.ParsedType.Native
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ParsedType.Native>, ParsedType
- Enclosing interface:
- ParsedType
public static enum ParsedType.Native
- extends java.lang.Enum<ParsedType.Native>
- implements ParsedType
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ASCII
public static final ParsedType.Native ASCII
BIGINT
public static final ParsedType.Native BIGINT
BLOB
public static final ParsedType.Native BLOB
BOOLEAN
public static final ParsedType.Native BOOLEAN
COUNTER
public static final ParsedType.Native COUNTER
DECIMAL
public static final ParsedType.Native DECIMAL
DOUBLE
public static final ParsedType.Native DOUBLE
FLOAT
public static final ParsedType.Native FLOAT
INET
public static final ParsedType.Native INET
INT
public static final ParsedType.Native INT
TEXT
public static final ParsedType.Native TEXT
TIMESTAMP
public static final ParsedType.Native TIMESTAMP
UUID
public static final ParsedType.Native UUID
VARCHAR
public static final ParsedType.Native VARCHAR
VARINT
public static final ParsedType.Native VARINT
TIMEUUID
public static final ParsedType.Native TIMEUUID
values
public static ParsedType.Native[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ParsedType.Native c : ParsedType.Native.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ParsedType.Native valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
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