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 |
dispatchDurationType()
Handle processing for duration typed tokens.
|
void |
dispatchFloatType()
Handle processing for float typed tokens.
|
void |
dispatchIntType()
Handle processing for integer typed tokens.
|
void |
dispatchIp4AddressType()
Handle processing for ip4address typed tokens.
|
void |
dispatchIp6AddressType()
Handle processing for ip6address typed tokens.
|
void |
dispatchLongType()
Handle processing for long typed tokens.
|
void |
dispatchMoneyType()
Handle processing for money typed tokens.
|
void |
dispatchNumericType()
Handle processing for numeric typed tokens.
|
<O> void |
dispatchObjectType(ObjectTokenType<O> objectType)
Handle processing for object typed tokens.
|
void |
dispatchPeriodType()
Handle processing for period 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 dispatchDurationType()
TokenTypeDispatcher
dispatchDurationType
in interface TokenTypeDispatcher
dispatchDurationType
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 dispatchIp4AddressType()
TokenTypeDispatcher
dispatchIp4AddressType
in interface TokenTypeDispatcher
dispatchIp4AddressType
in class TypeDispatchedConstructor<Object>
public void dispatchIp6AddressType()
TokenTypeDispatcher
dispatchIp6AddressType
in interface TokenTypeDispatcher
dispatchIp6AddressType
in class TypeDispatchedConstructor<Object>
public void dispatchLongType()
TokenTypeDispatcher
dispatchLongType
in interface TokenTypeDispatcher
dispatchLongType
in class TypeDispatchedConstructor<Object>
public void dispatchMoneyType()
TokenTypeDispatcher
dispatchMoneyType
in interface TokenTypeDispatcher
dispatchMoneyType
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 dispatchPeriodType()
TokenTypeDispatcher
dispatchPeriodType
in interface TokenTypeDispatcher
dispatchPeriodType
in class TypeDispatchedConstructor<Object>
public 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 © 2021 Actian Corporation. All rights reserved.