railo.runtime.type
Class DebugQueryColumn
java.lang.Object
railo.runtime.type.QueryColumnImpl
railo.runtime.type.DebugQueryColumn
- All Implemented Interfaces:
- Serializable, Cloneable, Dumpable, Castable, Collection, ForEachIteratorable, Iteratorable, Objects, QueryColumn, QueryColumnPro, Reference, Sizeable
public final class DebugQueryColumn
- extends QueryColumnImpl
- implements QueryColumnPro, Sizeable, Objects
implementation of the query column
- See Also:
- Serialized Form
Methods inherited from class railo.runtime.type.QueryColumnImpl |
_toDebugColumn, add, add, addAll, addAll, addRow, call, callWithNamedValues, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, clone, cloneColumn, cloneColumnImpl, compareTo, compareTo, compareTo, compareTo, contains, containsAll, containsKey, containsKey, cutRowsTo, duplicate, entryIterator, equals, get, get, get, get, get, get, get, get, getIterator, getKey, getKeyAsString, getParent, getType, getTypeAsString, hashCode, isEmpty, iterator, keyIterator, keys, keysAsStringIterator, remove, remove, remove, removeAll, removeEL, removeEL, removeEL, removeRow, retainAll, set, set, set, set, set, setEL, setEL, setEL, setEL, setEL, setKey, size, sizeOf, toDumpData, toString, touch, touchEL |
Methods inherited from interface railo.runtime.type.Collection |
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size |
Methods inherited from interface railo.runtime.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
Methods inherited from interface railo.runtime.type.ref.Reference |
get, get, getKey, getKeyAsString, getParent, remove, removeEL, set, setEL, touch, touchEL |
DebugQueryColumn
public DebugQueryColumn(Object[] data,
Collection.Key key,
QueryImpl query,
int size,
int type,
boolean typeChecked)
DebugQueryColumn
public DebugQueryColumn()
- Constructor of the class
for internal usage only
isUsed
public boolean isUsed()
- Returns:
- the used
get
public Object get(int row)
throws DeprecatedException
- Description copied from interface:
QueryColumn
- get method with a int as key, return empty default value for invalid row
- Specified by:
get
in interface QueryColumn
- Overrides:
get
in class QueryColumnImpl
- Parameters:
row
- row to get value
- Returns:
- row value
- Throws:
DeprecatedException
touch
public Object touch(int row)
- touch the given line on the column at given row
- Overrides:
touch
in class QueryColumnImpl
- Parameters:
row
-
- Returns:
- new row or existing
- Throws:
DatabaseException
touchEL
public Object touchEL(int row)
- touch the given line on the column at given row
- Overrides:
touchEL
in class QueryColumnImpl
- Parameters:
row
-
- Returns:
- new row or existing
- Throws:
DatabaseException
get
public Object get(int row,
Object defaultValue)
- Description copied from interface:
QueryColumn
- return the value in this row (can be null), when row number is invalid the default value is returned
- Specified by:
get
in interface QueryColumn
- Overrides:
get
in class QueryColumnImpl
- Parameters:
row
- row to get value
- Returns:
- row value
cloneColumn
public QueryColumnPro cloneColumn(QueryImpl query,
boolean deepCopy)
valueIterator
public Iterator<Object> valueIterator()
- Specified by:
valueIterator
in interface Iteratorable
- Overrides:
valueIterator
in class QueryColumnImpl
- Returns:
- return a Iterator for Values
indexOf
public int indexOf(Object o)
- Overrides:
indexOf
in class QueryColumnImpl
lastIndexOf
public int lastIndexOf(Object o)
- Overrides:
lastIndexOf
in class QueryColumnImpl
subList
public List<Object> subList(int fromIndex,
int toIndex)
- Overrides:
subList
in class QueryColumnImpl
toArray
public Object[] toArray()
- Overrides:
toArray
in class QueryColumnImpl
toArray
public Object[] toArray(Object[] trg)
- Overrides:
toArray
in class QueryColumnImpl
toDebugColumn
public QueryColumnPro toDebugColumn()
- Specified by:
toDebugColumn
in interface QueryColumnPro
- Overrides:
toDebugColumn
in class QueryColumnImpl
Copyright © 2012 Railo