anvil.core.sql
Class AnyStatement
java.lang.Object
|
+--anvil.core.Any
|
+--anvil.core.AnyAbstractClass
|
+--anvil.core.sql.AnyMetaData
|
+--anvil.core.sql.AnyStatement
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable
- public class AnyStatement
- extends AnyMetaData
class AnyStatement
| Fields inherited from class anvil.core.sql.AnyMetaData |
_metadata, p_getCatalogName, p_getColumnLabel, p_getColumnLength, p_getColumnName, p_getColumnType, p_getPrecision, p_getScale, p_getSchemaName, p_getTableName, p_isAutoIncrement, p_isCaseSensitive, p_isCurrency, p_isDefinitelyWritable, p_isNullable, p_isReadOnly, p_isSearchable, p_isSigned, p_isWritable |
| Fields inherited from class anvil.core.Any |
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO |
|
Constructor Summary |
AnyStatement(java.sql.PreparedStatement statement)
|
|
Method Summary |
ClassType |
classOf()
Returns the type of this Any. |
Any |
getAttribute(Context context,
java.lang.String attribute)
|
protected java.sql.ResultSetMetaData |
getMetaData()
|
Any |
getReference(Context context,
Any index)
|
Any |
m_clear(Context context)
|
Any |
m_close(Context context)
|
Any |
m_query(Context context)
|
Any |
m_register(Context context,
int column,
int type,
Any scale)
|
Any |
m_reset(Context context)
|
Any |
m_update(Context context)
|
Any |
setAttribute(Context context,
java.lang.String attribute,
Any value)
|
Any |
setReference(Context context,
Any value)
|
Any |
setReference(Context context,
Any index,
Any value)
|
java.lang.Object |
toObject()
Gets the contained value as java.lang.Object. |
| Methods inherited from class anvil.core.sql.AnyMetaData |
m_getCatalogName, m_getColumnCount, m_getColumnLabel, m_getColumnLength, m_getColumnName, m_getColumnType, m_getPrecision, m_getScale, m_getSchemaName, m_getTableName, m_isAutoIncrement, m_isCaseSensitive, m_isCurrency, m_isDefinitelyWritable, m_isNullable, m_isReadOnly, m_isSearchable, m_isSigned, m_isWritable, toColumnIndex, toColumnIndex |
| Methods inherited from class anvil.core.Any |
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getRef, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setRef, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toPattern, toRange, toTuple, type |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_statement
protected java.sql.PreparedStatement _statement
_callable
protected java.sql.CallableStatement _callable
_index
protected int _index
p_register
public static final java.lang.Object[] p_register
_class
public static final NativeClass _class
AnyStatement
public AnyStatement(java.sql.PreparedStatement statement)
classOf
public final ClassType classOf()
- Description copied from class:
Any
- Returns the type of this Any.
- Overrides:
classOf in class AnyMetaData
toObject
public java.lang.Object toObject()
- Description copied from class:
Any
- Gets the contained value as
java.lang.Object.
- Overrides:
toObject in class AnyMetaData
- Returns:
- Value as Object.
getMetaData
protected final java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
- Overrides:
getMetaData in class AnyMetaData
java.sql.SQLException
getAttribute
public Any getAttribute(Context context,
java.lang.String attribute)
- Overrides:
getAttribute in class Any
setAttribute
public Any setAttribute(Context context,
java.lang.String attribute,
Any value)
- Overrides:
setAttribute in class Any
getReference
public Any getReference(Context context,
Any index)
- Overrides:
getReference in class Any
setReference
public Any setReference(Context context,
Any index,
Any value)
- Overrides:
setReference in class Any
setReference
public Any setReference(Context context,
Any value)
- Overrides:
setReference in class Any
m_query
public Any m_query(Context context)
m_update
public Any m_update(Context context)
m_clear
public Any m_clear(Context context)
m_register
public Any m_register(Context context,
int column,
int type,
Any scale)
m_reset
public Any m_reset(Context context)
m_close
public Any m_close(Context context)