railo.runtime.type
Class DebugQueryColumn

java.lang.Object
  extended by railo.runtime.type.QueryColumnImpl
      extended by railo.runtime.type.DebugQueryColumn
All Implemented Interfaces:
Serializable, Cloneable, Dumpable, Castable, Collection, 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Constructor Summary
DebugQueryColumn()
          Constructor of the class for internal usage only
DebugQueryColumn(Object[] data, Collection.Key key, QueryImpl query, int size, int type, boolean typeChecked)
           
 
Method Summary
 QueryColumnPro cloneColumn(QueryImpl query, boolean deepCopy)
           
 Object get(int row)
          get method with a int as key
 Object get(int row, Object defaultValue)
          getExpressionLess method with a int as key
 int indexOf(Object o)
           
 boolean isUsed()
           
 int lastIndexOf(Object o)
           
 List<Object> subList(int fromIndex, int toIndex)
           
 Object[] toArray()
           
 Object[] toArray(Object[] trg)
           
 QueryColumnPro toDebugColumn()
           
 Object touch(int row)
          touch the given line on the column at given row
 Object touchEL(int row)
          touch the given line on the column at given row
 Iterator valueIterator()
           
 
Methods inherited from class railo.runtime.type.QueryColumnImpl
add, add, addAll, addAll, addRow, call, call, callWithNamedValues, callWithNamedValues, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, clone, compareTo, compareTo, compareTo, compareTo, contains, containsAll, containsKey, containsKey, cutRowsTo, duplicate, equals, get, get, get, get, get, get, get, get, get, get, getKey, getKeyAsString, getParent, getType, getTypeAsString, isEmpty, isInitalized, iterator, keyIterator, keys, keysAsString, remove, remove, remove, removeAll, removeEL, removeEL, removeEL, removeRow, retainAll, set, set, set, set, set, set, setEL, setEL, setEL, setEL, setEL, setEL, setKey, size, sizeOf, toDumpData, toString, touch, touchEL
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.runtime.type.QueryColumnPro
setKey
 
Methods inherited from interface railo.runtime.type.QueryColumn
add, addRow, cutRowsTo, getType, getTypeAsString, remove, removeEL, removeRow, set, setEL
 
Methods inherited from interface railo.runtime.type.Collection
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, keysAsString, remove, removeEL, set, set, setEL, setEL, size
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.type.Iteratorable
iterator, keyIterator
 
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
 
Methods inherited from interface railo.runtime.type.Sizeable
sizeOf
 
Methods inherited from interface railo.runtime.type.Objects
call, call, callWithNamedValues, callWithNamedValues, get, get, get, get, isInitalized, set, set, setEL, setEL
 

Constructor Detail

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

Method Detail

isUsed

public boolean isUsed()
Returns:
the used

get

public Object get(int row)
Description copied from interface: QueryColumn
get method with a int as key

Specified by:
get in interface QueryColumn
Overrides:
get in class QueryColumnImpl
Parameters:
row - row to get value
Returns:
row value
See Also:
QueryColumn.get(int)

touch

public Object touch(int row)
             throws DatabaseException
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
getExpressionLess method with a int as key

Specified by:
get in interface QueryColumn
Overrides:
get in class QueryColumnImpl
Parameters:
row - row to get value
Returns:
row value
See Also:
QueryColumn.get(int, java.lang.Object)

cloneColumn

public QueryColumnPro cloneColumn(QueryImpl query,
                                  boolean deepCopy)
Specified by:
cloneColumn in interface QueryColumnPro
Overrides:
cloneColumn in class QueryColumnImpl

valueIterator

public Iterator valueIterator()
Specified by:
valueIterator in interface Iteratorable
Overrides:
valueIterator in class QueryColumnImpl
Returns:
return a Iterator for Values
See Also:
Iteratorable.valueIterator()

indexOf

public int indexOf(Object o)
Overrides:
indexOf in class QueryColumnImpl
See Also:
List.indexOf(java.lang.Object)

lastIndexOf

public int lastIndexOf(Object o)
Overrides:
lastIndexOf in class QueryColumnImpl
See Also:
List.lastIndexOf(java.lang.Object)

subList

public List<Object> subList(int fromIndex,
                            int toIndex)
Overrides:
subList in class QueryColumnImpl
See Also:
List.subList(int, int)

toArray

public Object[] toArray()
Overrides:
toArray in class QueryColumnImpl
See Also:
List.toArray()

toArray

public Object[] toArray(Object[] trg)
Overrides:
toArray in class QueryColumnImpl
See Also:
java.util.List#toArray(T[])

toDebugColumn

public QueryColumnPro toDebugColumn()
Specified by:
toDebugColumn in interface QueryColumnPro
Overrides:
toDebugColumn in class QueryColumnImpl


Copyright © 2012 Railo