railo.runtime.sql.exp
Class ColumnExpression

java.lang.Object
  extended by railo.runtime.sql.exp.ExpressionSupport
      extended by railo.runtime.sql.exp.ColumnExpression
All Implemented Interfaces:
Column, Expression

public class ColumnExpression
extends ExpressionSupport
implements Column


Constructor Summary
ColumnExpression(String value, int columnIndex)
           
 
Method Summary
 String getAlias()
           
 String getColumn()
           
 int getColumnIndex()
           
 String getFullName()
           
 String getTable()
           
 Object getValue(Query qr, int row)
           
 Object getValue(Query qr, int row, Object defaultValue)
           
 boolean hasBracked()
           
 void hasBracked(boolean b)
           
 void setSub(String sub)
           
 String toString(boolean noAlias)
           
 
Methods inherited from class railo.runtime.sql.exp.ExpressionSupport
getIndex, hasAlias, hasIndex, isDirectionBackward, setAlias, setDirectionBackward, setIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface railo.runtime.sql.exp.Expression
getIndex, hasAlias, hasIndex, isDirectionBackward, setAlias, setDirectionBackward, setIndex
 

Constructor Detail

ColumnExpression

public ColumnExpression(String value,
                        int columnIndex)
Method Detail

setSub

public void setSub(String sub)

toString

public String toString(boolean noAlias)
Specified by:
toString in interface Expression

getFullName

public String getFullName()
Specified by:
getFullName in interface Column
See Also:
sql.exp.Column#getFullName()

getAlias

public String getAlias()
Specified by:
getAlias in interface Expression
Overrides:
getAlias in class ExpressionSupport
See Also:
ExpressionSupport.getAlias()

getColumn

public String getColumn()
Specified by:
getColumn in interface Column

getTable

public String getTable()
Specified by:
getTable in interface Column

hasBracked

public boolean hasBracked()
Specified by:
hasBracked in interface Column

hasBracked

public void hasBracked(boolean b)
Specified by:
hasBracked in interface Column

getColumnIndex

public int getColumnIndex()
Specified by:
getColumnIndex in interface Column
Returns:
the columnIndex

getValue

public Object getValue(Query qr,
                       int row)
                throws PageException
Specified by:
getValue in interface Column
Throws:
PageException

getValue

public Object getValue(Query qr,
                       int row,
                       Object defaultValue)
Specified by:
getValue in interface Column


Copyright © 2012 Railo