cascading.lingual.type
Class SQLTimeCoercibleType

java.lang.Object
  extended by org.eigenbase.reltype.RelDataTypeImpl
      extended by org.eigenbase.sql.type.AbstractSqlType
          extended by org.eigenbase.sql.type.BasicSqlType
              extended by cascading.lingual.type.SQLDateTimeCoercibleType
                  extended by cascading.lingual.type.SQLTimeCoercibleType
All Implemented Interfaces:
CoercibleType, Serializable, Cloneable, Type, org.eigenbase.reltype.RelDataType, org.eigenbase.reltype.RelDataTypeFamily

public class SQLTimeCoercibleType
extends SQLDateTimeCoercibleType

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cascading.lingual.type.SQLDateTimeCoercibleType
MILLIS_PER_DAY
 
Fields inherited from class org.eigenbase.sql.type.AbstractSqlType
isNullable, typeName
 
Fields inherited from class org.eigenbase.reltype.RelDataTypeImpl
digest, fieldList, fields
 
Fields inherited from interface org.eigenbase.reltype.RelDataType
PRECISION_NOT_SPECIFIED, SCALE_NOT_SPECIFIED
 
Constructor Summary
SQLTimeCoercibleType()
           
 
Method Summary
 Object canonical(Object value)
           
 Object coerce(Object value, Type to)
           
protected  org.eigenbase.util14.ZonelessTime createInstance()
           
 Class getCanonicalType()
           
protected  org.eigenbase.util14.ZonelessDatetime parse(String value)
           
 
Methods inherited from class cascading.lingual.type.SQLDateTimeCoercibleType
equals, hashCode, isNullable
 
Methods inherited from class org.eigenbase.sql.type.BasicSqlType
generateTypeString, getCharset, getCollation, getLimit, getPrecision, getScale
 
Methods inherited from class org.eigenbase.sql.type.AbstractSqlType
getFamily, getPrecedenceList, getSqlTypeName
 
Methods inherited from class org.eigenbase.reltype.RelDataTypeImpl
computeDigest, getComparability, getComponentType, getField, getFieldCount, getFieldList, getFieldNames, getFieldOrdinal, getFields, getFullTypeString, getIntervalQualifier, getKeyType, getSqlIdentifier, getValueType, isStruct, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLTimeCoercibleType

public SQLTimeCoercibleType()
Method Detail

parse

protected org.eigenbase.util14.ZonelessDatetime parse(String value)
Specified by:
parse in class SQLDateTimeCoercibleType

createInstance

protected org.eigenbase.util14.ZonelessTime createInstance()
Specified by:
createInstance in class SQLDateTimeCoercibleType

getCanonicalType

public Class getCanonicalType()

canonical

public Object canonical(Object value)
Specified by:
canonical in interface CoercibleType
Overrides:
canonical in class SQLDateTimeCoercibleType

coerce

public Object coerce(Object value,
                     Type to)
Specified by:
coerce in interface CoercibleType
Overrides:
coerce in class SQLDateTimeCoercibleType


Copyright © 2007-2013 Concurrent, Inc. All Rights Reserved.