|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectunity.functions.Expression
unity.functions.Function
unity.functions.F_Cast
public class F_Cast
| Constructor Summary | |
|---|---|
F_Cast(Expression exp,
int curType,
int newType)
|
|
F_Cast(Expression exp,
int curType,
java.lang.String newTypeName)
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
changeType(java.lang.Object value,
int currentType,
int returnType)
|
java.lang.Object |
evaluate(Tuple t)
|
static int |
findType(java.lang.Object value)
|
static java.lang.String |
getFunctionName()
|
static int[] |
getParamListTypes()
|
int |
getReturnType()
|
int |
getTypeBySQLName(java.lang.String SQLName)
|
java.lang.String |
toString(Relation relation)
|
| Methods inherited from class unity.functions.Function |
|---|
createHashName, findFunction, initializeFunctions, paramListToString, validateTypes, validateTypes |
| Methods inherited from class unity.functions.Expression |
|---|
computeType, getAttributeIndexReferences, getChild, getExprLocs, getNumChildren, getParent, hasChildren, setParent, setReturnType, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public F_Cast(Expression exp,
int curType,
java.lang.String newTypeName)
public F_Cast(Expression exp,
int curType,
int newType)
| Method Detail |
|---|
public java.lang.Object evaluate(Tuple t)
evaluate in class Expression
public static java.lang.Object changeType(java.lang.Object value,
int currentType,
int returnType)
public static int findType(java.lang.Object value)
public int getReturnType()
getReturnType in class Expressionpublic static int[] getParamListTypes()
public static java.lang.String getFunctionName()
public java.lang.String toString(Relation relation)
toString in class Expressionpublic int getTypeBySQLName(java.lang.String SQLName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||