railo.runtime.type
Interface QueryColumn

All Superinterfaces:
Castable, Cloneable, Collection, Dumpable, Iteratorable, Reference, Serializable
All Known Subinterfaces:
QueryColumnPro
All Known Implementing Classes:
DebugQueryColumn, QueryCacheQueryColumn, QueryColumnImpl, QueryColumnRef, SimpleQueryColumn

public interface QueryColumn
extends Collection, Reference, Castable

represent a Single column of a query object


Nested Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Method Summary
 void add(Object value)
          adds a value to the column
 void addRow(int count)
           
 void cutRowsTo(int maxrows)
          cuts row to defined size
 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 getType()
           
 String getTypeAsString()
           
 Object remove(int row)
          removes the value but dont the index
 Object removeEL(int row)
          removes method with int as key
 Object removeRow(int row)
          remove a row from query
 Object set(int row, Object value)
          set method with a int as key
 Object setEL(int row, Object value)
          setExpressionLess method with a int as key
 
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, valueIterator
 
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
 

Method Detail

remove

Object remove(int row)
              throws PageException
removes the value but dont the index

Parameters:
row -
Returns:
removed Object
Throws:
PageException

removeRow

Object removeRow(int row)
                 throws PageException
remove a row from query

Parameters:
row -
Returns:
removed value
Throws:
PageException

removeEL

Object removeEL(int row)
removes method with int as key

Parameters:
row -
Returns:
removed Object

get

Object get(int row)
           throws PageException
get method with a int as key

Parameters:
row - row to get value
Returns:
row value
Throws:
PageException

get

Object get(int row,
           Object defaultValue)
getExpressionLess method with a int as key

Parameters:
row - row to get value
Returns:
row value

set

Object set(int row,
           Object value)
           throws PageException
set method with a int as key

Parameters:
row - row to set
value - value to set
Returns:
setted value
Throws:
PageException

add

void add(Object value)
adds a value to the column

Parameters:
value - value to add

setEL

Object setEL(int row,
             Object value)
setExpressionLess method with a int as key

Parameters:
row - row to set
value - value to set
Returns:
setted value

addRow

void addRow(int count)
Parameters:
count - adds count row to the column

getType

int getType()
Returns:
returns the type of the Column (java.sql.Types.XYZ)

getTypeAsString

String getTypeAsString()
Returns:
returns the type of the Column as String

cutRowsTo

void cutRowsTo(int maxrows)
cuts row to defined size

Parameters:
maxrows -


Copyright © 2012 Railo