anvil.core.sql
Class AnyResultSet

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyAbstractClass
              |
              +--anvil.core.sql.AnyMetaData
                    |
                    +--anvil.core.sql.AnyResultSet
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class AnyResultSet
extends AnyMetaData

class AnyResultSet


Nested Class Summary
 class AnyResultSet.ResultSetIterator
           
 
Field Summary
static NativeClass _class
           
static Any CONCUR_READ_ONLY
           
static Any CONCUR_UPDATABLE
           
static Any FETCH_FORWARD
           
static Any FETCH_FORWARD_ONLY
           
static Any FETCH_REVERSE
           
static Any FETCH_SCROLL_INSENSITIVE
           
static Any FETCH_SCROLL_SENSITIVE
           
static Any FETCH_UNKNOWN
           
static java.lang.Object[] p_absolute
           
static java.lang.Object[] p_getRows
           
static java.lang.Object[] p_relative
           
static java.lang.Object[] p_row
           
static java.lang.Object[] p_setFetchDirection
           
 
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
AnyResultSet(java.sql.ResultSet resultSet)
           
AnyResultSet(java.sql.ResultSet resultSet, java.sql.Statement 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)
           
 BindingIterator iterator()
           
 Any m_absolute(Context context, int row)
           
 Any m_afterLast(Context context)
           
 Any m_beforeFirst(Context context)
           
 Any m_close(Context context)
           
 Any m_first(Context context)
           
 Any m_get(Context context)
           
 Any m_getConcurrency(Context context)
           
 Any m_getFetchDirection(Context context)
           
 Any m_getList(Context context)
           
 Any m_getRow(Context context)
           
 Any m_getRows(Context context, Any max_)
           
 Any m_last(Context context)
           
 Any m_next(Context context)
           
 Any m_previous(Context context)
           
 Any m_relative(Context context, int row)
           
 Any m_row(Context context)
           
 Any m_setFetchDirection(Context context, int dir)
           
protected  int toColumnIndex(Any index)
           
 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
 
Methods inherited from class anvil.core.AnyAbstractClass
doSerialize, isMutable, serialize, serializeObject, toBoolean, toString, typeOf, unserialize, unserializeObject
 
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, 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, setAttribute, setRef, setReference, setReference, 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
 

Field Detail

CONCUR_READ_ONLY

public static final Any CONCUR_READ_ONLY

CONCUR_UPDATABLE

public static final Any CONCUR_UPDATABLE

FETCH_FORWARD

public static final Any FETCH_FORWARD

FETCH_REVERSE

public static final Any FETCH_REVERSE

FETCH_UNKNOWN

public static final Any FETCH_UNKNOWN

FETCH_FORWARD_ONLY

public static final Any FETCH_FORWARD_ONLY

FETCH_SCROLL_INSENSITIVE

public static final Any FETCH_SCROLL_INSENSITIVE

FETCH_SCROLL_SENSITIVE

public static final Any FETCH_SCROLL_SENSITIVE

p_setFetchDirection

public static final java.lang.Object[] p_setFetchDirection

p_row

public static final java.lang.Object[] p_row

p_absolute

public static final java.lang.Object[] p_absolute

p_relative

public static final java.lang.Object[] p_relative

p_getRows

public static final java.lang.Object[] p_getRows

_class

public static final NativeClass _class
Constructor Detail

AnyResultSet

public AnyResultSet(java.sql.ResultSet resultSet)

AnyResultSet

public AnyResultSet(java.sql.ResultSet resultSet,
                    java.sql.Statement statement)
Method Detail

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

toColumnIndex

protected final int toColumnIndex(Any index)
                           throws java.sql.SQLException
Overrides:
toColumnIndex in class AnyMetaData
java.sql.SQLException

getAttribute

public Any getAttribute(Context context,
                        java.lang.String attribute)
Overrides:
getAttribute in class Any

getReference

public Any getReference(Context context,
                        Any index)
Overrides:
getReference in class Any

iterator

public BindingIterator iterator()
Overrides:
iterator in class Any

m_getConcurrency

public Any m_getConcurrency(Context context)

m_getFetchDirection

public Any m_getFetchDirection(Context context)

m_setFetchDirection

public Any m_setFetchDirection(Context context,
                               int dir)

m_previous

public Any m_previous(Context context)

m_next

public Any m_next(Context context)

m_beforeFirst

public Any m_beforeFirst(Context context)

m_afterLast

public Any m_afterLast(Context context)

m_first

public Any m_first(Context context)

m_last

public Any m_last(Context context)

m_row

public Any m_row(Context context)

m_absolute

public Any m_absolute(Context context,
                      int row)

m_relative

public Any m_relative(Context context,
                      int row)

m_close

public Any m_close(Context context)

m_get

public Any m_get(Context context)

m_getRow

public Any m_getRow(Context context)

m_getList

public Any m_getList(Context context)

m_getRows

public Any m_getRows(Context context,
                     Any max_)