| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv final int | kind
This class is used to hold logically different objects for space efficiency. |
| Access | Constructor and Description |
|---|---|
| pack-priv | NumericConstantNode(TypeId
type t, ContextManager context manager cm)Constructor for a typed null node |
| pack-priv | NumericConstantNode(TypeId t, Number
An object containing the value of the constant. value, ContextManager context manager cm)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | generateConstant(ExpressionClassBuilder
The ExpressionClassBuilder for the class being built acb, MethodBuilder The method the expression will go into mb)Implements abstract org. This generates the proper constant. |
| pack-priv Object | Returns: An Object representing the bind time value of this expression tree. (null if not a bind time constant.)Overrides org. Return an Object representing the bind time value of this expression tree. |
| private int | |
| private int | |
| private int | |
| private int | |
| pack-priv boolean | isSameNodeKind(ValueNode
The other value node whose kind we want to compare with. o)Overrides org. Some node classes represent several logical node types (to reduce footprint), which we call kinds. |
| private void |
| K_BIGINT | back to summary |
|---|---|
| pack-priv static final int K_BIGINT | |
| K_DECIMAL | back to summary |
|---|---|
| pack-priv static final int K_DECIMAL | |
| K_DOUBLE | back to summary |
|---|---|
| pack-priv static final int K_DOUBLE | |
| K_INT | back to summary |
|---|---|
| pack-priv static final int K_INT | |
| K_REAL | back to summary |
|---|---|
| pack-priv static final int K_REAL | |
| K_SMALLINT | back to summary |
|---|---|
| pack-priv static final int K_SMALLINT | |
| K_TINYINT | back to summary |
|---|---|
| pack-priv static final int K_TINYINT | |
| kind | back to summary |
|---|---|
| pack-priv final int kind This class is used to hold logically different objects for
space efficiency. | |
| NumericConstantNode | back to summary |
|---|---|
| pack-priv NumericConstantNode(TypeId t, ContextManager cm) throws StandardException Constructor for a typed null node
| |
| NumericConstantNode | back to summary |
|---|---|
pack-priv NumericConstantNode(TypeId t, Number value, ContextManager cm) throws StandardException
| |
| generateConstant | back to summary |
|---|---|
| pack-priv void generateConstant(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException Implements abstract org. This generates the proper constant. It is implemented by every specific constant node (e.g. IntConstantNode).
| |
| getConstantValueAsObject | back to summary |
|---|---|
| pack-priv Object getConstantValueAsObject() throws StandardException Overrides org. Return an Object representing the bind time value of this expression tree. If the expression tree does not evaluate to a constant at bind time then we return null. This is useful for bind time resolution of VTIs. Resolve What do we do for primitives?
| |
| getKind | back to summary |
|---|---|
| private int getKind(TypeId t) | |
| getMaxWidth | back to summary |
|---|---|
| private int getMaxWidth(TypeId t, Object val) throws StandardException | |
| getPrecision | back to summary |
|---|---|
| private int getPrecision(TypeId t, Number val) throws StandardException | |
| getScale | back to summary |
|---|---|
| private int getScale(TypeId t, Object val) throws StandardException | |
| isSameNodeKind | back to summary |
|---|---|
| pack-priv boolean isSameNodeKind(ValueNode o) Overrides org. Doc from org. Some node classes represent several logical node types (to reduce
footprint), which we call kinds.
This means that implementations of | |
| setValue | back to summary |
|---|---|
| private void setValue(TypeId t, Number value) throws StandardException | |