public class NullableIntervalAccessor extends AbstractSqlAccessor
Constructor and Description |
---|
NullableIntervalAccessor(NullableIntervalVector vector) |
Modifier and Type | Method and Description |
---|---|
Object |
getObject(int index)
(See
class description .) |
Class<?> |
getObjectClass()
Reports the class returned by getObject() of this accessor.
|
String |
getString(int index)
(See
class description .) |
TypeProtos.MajorType |
getType()
Reports the (native) type of data accessed by this accessor.
|
boolean |
isNull(int index)
Reports whether the logical value is a SQL NULL.
|
getBigDecimal, getBoolean, getByte, getBytes, getChar, getDate, getDouble, getFloat, getInt, getLong, getReader, getShort, getStream, getTime, getTimestamp
public NullableIntervalAccessor(NullableIntervalVector vector)
public TypeProtos.MajorType getType()
SqlAccessor
(Some implementations may support more than just the minimum
getType(...)
method implied by the type.
public boolean isNull(int index)
SqlAccessor
isNull
in interface SqlAccessor
isNull
in class AbstractSqlAccessor
public Class<?> getObjectClass()
SqlAccessor
(Is for ResultSetMetaData#getColumnClassName(...)
.)
public Object getObject(int index)
SqlAccessor
class description
.)public String getString(int index)
SqlAccessor
class description
.)getString
in interface SqlAccessor
getString
in class AbstractSqlAccessor
Copyright © 1970 The Apache Software Foundation. All rights reserved.