public class TokenValueExtractor extends TypeDispatchedConstructor<Object>
result
Constructor and Description |
---|
TokenValueExtractor(TokenValued token) |
Modifier and Type | Method and Description |
---|---|
Object |
constructForType(TokenType type)
Construct an object appropriate for the specified type.
|
void |
dispatchBinaryType()
Handle processing for binary typed tokens.
|
void |
dispatchBooleanType()
Handle processing for boolean typed tokens.
|
void |
dispatchCharType()
Handle processing for character typed tokens.
|
void |
dispatchDateType()
Handle processing for date typed tokens.
|
void |
dispatchDoubleType()
Handle processing for double typed tokens.
|
void |
dispatchFloatType()
Handle processing for float typed tokens.
|
void |
dispatchIntType()
Handle processing for integer typed tokens.
|
void |
dispatchLongType()
Handle processing for long typed tokens.
|
void |
dispatchNumericType()
Handle processing for numeric typed tokens.
|
<O> void |
dispatchObjectType(ObjectTokenType<O> objectType)
Handle processing for object typed tokens.
|
void |
dispatchRecordType(RecordTokenType recordType)
Handle processing for record typed tokens.
|
void |
dispatchStringType()
Handle processing for string typed tokens.
|
void |
dispatchTimestampType()
Handle processing for timestamp typed tokens.
|
void |
dispatchTimeType()
Handle processing for time typed tokens.
|
protected void |
handleUnsupportedType(TokenType type)
Handles processing of the specified unsupported type.
|
dispatchEnumType, dispatchGenericType, dispatchNullType, dispatchScalarType
public TokenValueExtractor(TokenValued token)
public Object constructForType(TokenType type)
TypeDispatchedConstructor
constructForType
in class TypeDispatchedConstructor<Object>
type
- the typepublic void dispatchBinaryType()
TokenTypeDispatcher
dispatchBinaryType
in interface TokenTypeDispatcher
dispatchBinaryType
in class TypeDispatchedConstructor<Object>
public void dispatchBooleanType()
TokenTypeDispatcher
dispatchBooleanType
in interface TokenTypeDispatcher
dispatchBooleanType
in class TypeDispatchedConstructor<Object>
public void dispatchCharType()
TokenTypeDispatcher
dispatchCharType
in interface TokenTypeDispatcher
dispatchCharType
in class TypeDispatchedConstructor<Object>
public void dispatchDateType()
TokenTypeDispatcher
dispatchDateType
in interface TokenTypeDispatcher
dispatchDateType
in class TypeDispatchedConstructor<Object>
public void dispatchDoubleType()
TokenTypeDispatcher
dispatchDoubleType
in interface TokenTypeDispatcher
dispatchDoubleType
in class TypeDispatchedConstructor<Object>
public void dispatchFloatType()
TokenTypeDispatcher
dispatchFloatType
in interface TokenTypeDispatcher
dispatchFloatType
in class TypeDispatchedConstructor<Object>
public void dispatchIntType()
TokenTypeDispatcher
dispatchIntType
in interface TokenTypeDispatcher
dispatchIntType
in class TypeDispatchedConstructor<Object>
public void dispatchLongType()
TokenTypeDispatcher
dispatchLongType
in interface TokenTypeDispatcher
dispatchLongType
in class TypeDispatchedConstructor<Object>
public void dispatchNumericType()
TokenTypeDispatcher
dispatchNumericType
in interface TokenTypeDispatcher
dispatchNumericType
in class TypeDispatchedConstructor<Object>
public <O> void dispatchObjectType(ObjectTokenType<O> objectType)
TokenTypeDispatcher
dispatchObjectType
in interface TokenTypeDispatcher
dispatchObjectType
in class TypeDispatchedConstructor<Object>
O
- the object typeobjectType
- the object type being processedpublic void dispatchRecordType(RecordTokenType recordType)
TokenTypeDispatcher
dispatchRecordType
in interface TokenTypeDispatcher
dispatchRecordType
in class TypeDispatchedConstructor<Object>
recordType
- the record type being processed.public void dispatchStringType()
TokenTypeDispatcher
dispatchStringType
in interface TokenTypeDispatcher
dispatchStringType
in class TypeDispatchedConstructor<Object>
public void dispatchTimeType()
TokenTypeDispatcher
dispatchTimeType
in interface TokenTypeDispatcher
dispatchTimeType
in class TypeDispatchedConstructor<Object>
public void dispatchTimestampType()
TokenTypeDispatcher
dispatchTimestampType
in interface TokenTypeDispatcher
dispatchTimestampType
in class TypeDispatchedConstructor<Object>
protected void handleUnsupportedType(TokenType type)
TypeDispatchedConstructor
handleUnsupportedType
in class TypeDispatchedConstructor<Object>
type
- the unsupported token typeCopyright © 2016 Actian Corporation. All rights reserved.