Uses of Class
com.mckoi.database.TObject
-
Packages that use TObject Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.jdbcserver Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode.com.mckoi.database.sql These classes parse SQL statements in Mckoi. -
-
Uses of TObject in com.mckoi.database
Fields in com.mckoi.database declared as TObject Modifier and Type Field Description static TObject
TObject. BOOLEAN_FALSE
static TObject
TObject. BOOLEAN_NULL
static TObject
TObject. BOOLEAN_TRUE
private TObject[]
RowData. data_cell_list
A list of TObject objects in the table.private TObject
SelectableRange. end
The end of the range to select from the set.private TObject
CorrelatedVariable. eval_result
The temporary value this variable has been set to evaluate to.static TObject
SelectableRange. FIRST_IN_SET
An object that represents the first value in the set.static TObject
SelectableRange. LAST_IN_SET
An object that represents the last value in the set.private TObject[]
BlindSearch.RangeChecker. lower_cells
The TObject objects to check against.(package private) TObject
ConnectionTriggerManager.TriggerInfo. misc
static TObject
TObject. NULL_OBJECT
private static TObject
SequenceManager. ONE_VAL
A static TObject that represents numeric 1.static TObject
GrantManager. PUBLIC_USERNAME
The name of the 'public' username.private TObject
SelectableRange. start
The start of the range to select from the set.private static TObject
SequenceManager. TRUE_VAL
A static TObject that represents boolean true.private TObject[]
BlindSearch.RangeChecker. upper_cells
Methods in com.mckoi.database that return TObject Modifier and Type Method Description static TObject
TObject. bigNumberVal(BigNumber val)
Returns a TObject of numeric type that represents the given BigNumber value.static TObject
TObject. booleanVal(boolean b)
Returns a TObject of boolean type that is either true or false.private TObject
FunctionTable. calcValue(int column, int row, DataCellCache cache)
Return a TObject that represents the value of the 'column', 'row' of this table.TObject
TObject. castTo(TType cast_to_type)
Casts this object to the given type and returns a new TObject.protected TObject
GTDataSource. columnValue(int column, java.lang.Object ob)
Returns a TObject that represents a value for the given column in this table.static TObject
TObject. createAndCastFromObject(TType type, java.lang.Object ob)
Returns a TObject of the given type and with the given Java object.private static TObject
InternalFunctionFactory.DateObFunction. dateVal(java.util.Date d)
static TObject
TObject. dateVal(java.util.Date d)
Returns a TObject of DATE type that represents the given time value.static TObject
TObject. doubleVal(double val)
Returns a TObject of numeric type that represents the given double value.TObject
Operator.AddOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.AllOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.AndOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.AnyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.ConcatOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.DivideOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.EqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
abstract TObject
Operator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.GreaterEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.GreaterOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.IsNotOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.IsOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.LesserEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.LesserOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.MultiplyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.NotEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.OrOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.ParenOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.PatternMatchFalseOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.PatternMatchTrueOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.RegexOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.SimpleOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.SubtractOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
abstract TObject
AbstractAggregateFunction. evalAggregate(GroupResolver group, QueryContext context, TObject val1, TObject val2)
Evaluates the aggregate function for the given values and returns the result.TObject
InternalFunctionFactory.AggOrFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.AvgFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.MaxFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.MinFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.SumFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
AbstractAggregateFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Expression. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
Evaluates this expression and returns an Object that represents the result of the evaluation.TObject
Expression. evaluate(VariableResolver resolver, QueryContext context)
Evaluation without a grouping table.TObject
Function. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
Evaluates the function and returns a TObject that represents the result of the function.TObject
InternalFunctionFactory.AbsFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.BinaryToHexFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.CoalesceFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.ConcatFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.CountFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.CurrValFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.DateFormatFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.DateObFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.DistinctCountFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.ForeignRuleConvert. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.GreatestFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.HexToBinaryFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.IfFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.JavaObjectInstantiation. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.JavaObjectInstantiation2. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.LeastFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.LengthFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.LowerFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.LTrimFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.ModFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.NextValFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.PowFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.PrivGroupsFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.PrivilegeString. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.RoundFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.RTrimFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SetValFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SignFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SQLCastFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SQLTrimFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SQLTypeString. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SqrtFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.SubstringFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.TimeObFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.TimeStampObFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.ToNumberFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.UniqueKeyFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.UpperFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.UserFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
InternalFunctionFactory.ViewDataConvert. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
(package private) TObject
RowData. evaluate(Expression expression, QueryContext context)
Evaluates the expression and returns the object it evaluates to using the local VariableResolver to resolve variables in the expression.protected TObject
CollatedBaseSearch. firstInCollationOrder()
Returns the first value of this column (in collated order).protected TObject
InsertSearch. firstInCollationOrder()
TObject
DataCellCache. get(int table_key, int row, int column)
Gets a TObject from the cache.TObject
SimpleTableQuery. get(int column, int row)
Gets the TObject at the given cell in the table.TObject
CompositeTable. getCellContents(int column, int row)
TObject
DatabaseConnection.TriggeredOldNewDataSource. getCellContents(int column, int row)
TObject
DataTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
DataTableFilter. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
FilterTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
FunctionTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
GTConnectionInfoDataSource. getCellContents(int column, int row)
TObject
GTCurrentConnectionsDataSource. getCellContents(int column, int row)
abstract TObject
GTDataSource. getCellContents(int column, int row)
TObject
GTPrivMapDataSource. getCellContents(int column, int row)
TObject
GTProductDataSource. getCellContents(int column, int row)
TObject
GTSQLTypeInfoDataSource. getCellContents(int column, int row)
TObject
GTStatisticsDataSource. getCellContents(int column, int row)
TObject
GTTableColumnsDataSource. getCellContents(int column, int row)
TObject
GTTableInfoDataSource. getCellContents(int column, int row)
TObject
JoinedTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.(package private) TObject
MasterTableDataSource. getCellContents(int column, int row)
Returns the cell contents of the given cell in the table.TObject
MasterTableDataSource.MMutableTableDataSource. getCellContents(int column, int row)
TObject
MasterTableDataSource.MRawDiagnosticTable. getCellContents(int column, int record_index)
TObject
OuterTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
RawDiagnosticTable. getCellContents(int column, int record_index)
Returns the contents of the given cell in this table.private TObject
RIDList. getCellContents(int row)
Gets the cell at the given row in the column of the master table.protected TObject
SelectableScheme. getCellContents(int row)
Obtains the given cell in the row from the table.TObject
SubsetColumnTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.abstract TObject
Table. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
TableAccessState. getCellContents(int column, int row)
Returns the cell at the given row/column coordinates in the table.TObject
TableDataSource. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
TemporaryTable. getCellContents(int column, int row)
Returns an object that represents the information in the given cell in the table.TObject
RowData. getCellData(int column)
Returns the TObject that represents the information in the given column of the row.TObject
SelectableRange. getEnd()
Returns the end of the range.TObject
CorrelatedVariable. getEvalResult()
Returns the value this correlated variable evaluates to.TObject
Table. getFirstCellContent(int column)
Returns the TObject value that represents the first item in the set or null if there are no items in the column set.TObject[]
Table. getFirstCellContent(int[] col_map)
Returns the TObject value that represents the first item in the set or null if there are no items in the column set.TObject
Table. getLastCellContent(int column)
Returns the TObject value that represents the last item in the set or null if there are no items in the column set.TObject[]
Table. getLastCellContent(int[] col_map)
Returns the TObject value that represents the last item in the set or null if there are no items in the column set.TObject
Table. getSingleCellContent(int column)
If the given column contains all items of the same value, this method returns the value.TObject[]
Table. getSingleCellContent(int[] col_map)
If the given column contains all items of the same value, this method returns the value.TObject
SelectableRange. getStart()
Returns the start of the range.(package private) abstract TObject
MasterTableDataSource. internalGetCellContents(int column, int row)
Returns the cell contents of the given cell in the table.(package private) TObject
V1MasterTableDataSource. internalGetCellContents(int column, int row)
(package private) TObject
V2MasterTableDataSource. internalGetCellContents(int column, int row)
static TObject
TObject. intVal(int val)
Returns a TObject of numeric type that represents the given int value.private TObject
ProcedureManager. invokeJavaV1Procedure(ProcedureName procedure_name, java.lang.String location_str, TType return_type, TType[] param_types, java.lang.String owner, TObject[] param_values)
Invokes a Java (type 1) procedure.TObject
ProcedureManager. invokeProcedure(ProcedureName procedure_name, TObject[] params)
Invokes the procedure with the given name and the given parameters and returns the procedure return value.protected TObject
CollatedBaseSearch. lastInCollationOrder()
Returns the last value of this column (in collated order).protected TObject
InsertSearch. lastInCollationOrder()
static TObject
TObject. longVal(long val)
Returns a TObject of numeric type that represents the given long value.static TObject
TObject. nullVal()
Returns a TObject of NULL type that represents a null value.static TObject
TObject. objectVal(java.lang.Object ob)
Returns a TObject from the given Java value.TObject
TObject. operatorAdd(TObject val)
Mathematical addition of this object to the given object.TObject
TObject. operatorConcat(TObject val)
String concat of this object to the given object.TObject
TObject. operatorDivide(TObject val)
Mathematical division of this object to the given object.TObject
TObject. operatorEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorGreater(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorGreaterEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorIs(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorLess(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorLessEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorMultiply(TObject val)
Mathematical multiply of this object to the given object.TObject
TObject. operatorNot()
Performs a logical NOT on this value.TObject
TObject. operatorNotEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorOr(TObject val)
Bitwise OR operation of this object with the given object.TObject
TObject. operatorSubtract(TObject val)
Mathematical subtraction of this object to the given object.TObject
AbstractAggregateFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)
Called just before the value is returned to the parent.TObject
InternalFunctionFactory.AvgFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)
TObject
DataCellCache. remove(int table_key, int row, int column)
Removes a TObject from the cache.TObject
FunctionTable.TableGroupResolver. resolve(Variable variable, int set_index)
TObject
FunctionTable.TableGroupResolver.TableGVResolver. resolve(Variable variable)
TObject
GroupResolver. resolve(Variable variable, int set_index)
Returns the value of a variable of a group.TObject
RowData.RDVariableResolver. resolve(Variable variable)
TObject
Table.TableVariableResolver. resolve(Variable variable)
TObject
TableDataConglomerate.TableRowVariableResolver. resolve(Variable variable)
TObject
VariableResolver. resolve(Variable variable)
Returns the value of a given variable.private TObject
BlindSearch.RangeChecker. resolveCell(TObject ob)
Resolves a cell.private TObject[]
Table. singleArrayCellMap(TObject cell)
Convenience, returns a TObject[] array given a single TObject, or null if the TObject is null (not if TObject represents a null value).static TObject
TObject. stringVal(StringObject str)
Returns a TObject of VARCHAR type that represents the given StringObject value.static TObject
TObject. stringVal(java.lang.String str)
Returns a TObject of VARCHAR type that represents the given String value.private TObject
InternalFunctionFactory.TimeObFunction. timeNow()
Methods in com.mckoi.database with parameters of type TObject Modifier and Type Method Description boolean
Table. allColumnMatchesValue(int column, Operator op, TObject ob)
Returns true if the given column contains all values that the given operator returns true for with the given value.private static int
DataCellCache. amountMemory(TObject cell)
Returns an approximation of the amount of memory taken by a TObject.(package private) static java.lang.Object
Caster. castArg(TObject arg, java.lang.Class target)
Cast the object to the specified target.(package private) static java.lang.Object[]
Caster. castArgs(TObject[] args, java.lang.Class[] targets)
Cast the given arguments to the specified classes.static java.lang.Object[]
Caster. castArgsToConstructor(TObject[] args, java.lang.reflect.Constructor constructor)
Cast the given arguments to the specified constructors parameter types.boolean
Table. columnContainsCell(int column, TObject cell)
Returns true if the given cell is found in the table.boolean
Table. columnContainsValue(int column, TObject ob)
Returns true if the given column number contains the value given.boolean
Table. columnMatchesValue(int column, Operator op, TObject ob)
Returns true if the given column contains a value that the given operator returns true for with the given value.boolean
TObject. comparableTypes(TObject ob)
Returns true if the type of this object is logically comparable to the type of the given object.static boolean
Table. compareCells(TObject ob1, TObject ob2, Operator op)
Compares cell1 with cell2 and if the given operator evalutes to true then returns true, otherwise false.int
TObject. compareTo(TObject tob)
Compares this object with the given object (which is of a logically comparable type).int
TObject. compareToNoNulls(TObject tob)
Compares this object with the given object (which is of a logically comparable type).void
ConnectionTriggerManager. createTableTrigger(java.lang.String schema, java.lang.String name, int type, TableName on_table, java.lang.String procedure_name, TObject[] params)
Creates a new trigger action on a stored procedure and makes the change to the transaction of this DatabaseConnection.static void
Caster. deserializeJavaObjects(TObject[] args)
Find any JAVA_OBJECTs in the args and deserialize them into real Java objects.TObject
Operator.AddOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.AllOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.AndOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.AnyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.ConcatOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.DivideOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.EqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
abstract TObject
Operator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.GreaterEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.GreaterOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.IsNotOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.IsOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.LesserEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.LesserOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.MultiplyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.NotEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.OrOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.ParenOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.PatternMatchFalseOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.PatternMatchTrueOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.RegexOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.SimpleOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
TObject
Operator.SubtractOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)
abstract TObject
AbstractAggregateFunction. evalAggregate(GroupResolver group, QueryContext context, TObject val1, TObject val2)
Evaluates the aggregate function for the given values and returns the result.TObject
InternalFunctionFactory.AggOrFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.AvgFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.MaxFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.MinFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
TObject
InternalFunctionFactory.SumFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)
private void
MasterTableDataSource.MMutableTableDataSource. executeDeleteReferentialAction(Transaction.ColumnGroupReference constraint, TObject[] original_key, QueryContext context)
Executes a delete referential action.private void
MasterTableDataSource.MMutableTableDataSource. executeUpdateReferentialAction(Transaction.ColumnGroupReference constraint, TObject[] original_key, TObject[] new_key, QueryContext context)
Executes an update referential action.static java.lang.reflect.Constructor
Caster. findBestConstructor(java.lang.reflect.Constructor[] constructs, TObject[] args)
Search for the best constructor that we can use with the given argument types.(package private) static IntegerVector
TableDataConglomerate. findKeys(TableDataSource t2, int[] col2_indexes, TObject[] key_value)
Returns the key indices found in the given table.static java.lang.String
Caster. getArgTypesString(TObject[] args)
Get a string giving the database types of all of the arguments.(package private) static int
Caster. getCastingCost(TObject[] args, int[] argSqlTypes, java.lang.Class[] targets)
Get the cost for casting the given arg types to the desired target classes.(package private) static int
Caster. getCastingCost(TObject arg, int argSqlType, java.lang.Class target)
Get the cost to cast an SQL type to the desired target class.(package private) static int
Caster. getCastingCost(TObject arg, java.lang.String[] prims, java.lang.Class[] objects, java.lang.Class target)
Get the cost to cast to the specified target from the set of allowable primitives and object classes.static int
Caster. getSqlType(TObject arg)
Get the SQL type for a database argument.static int[]
Caster. getSqlTypes(TObject[] args)
Get the SQL types for the given database arguments.private int
BlindSearch. highestSearch(TObject ob, IntegerVector vec, int lower, int higher)
Searches for a given TObject (ob) in the row list between the two bounds.(package private) void
RIDList. insertRID(TObject cell, int row)
Algorithm for inserting a new row into the rid table.void
SelectableRangeSet. intersect(Operator op, TObject val)
Intersects this range with the given Operator and value constraint.private static SelectableRange
SelectableRangeSet. intersectRange(SelectableRange range, Operator op, TObject val, boolean null_check)
Intersects the given SelectableRange object with the given Operator and value constraint.private TObject
ProcedureManager. invokeJavaV1Procedure(ProcedureName procedure_name, java.lang.String location_str, TType return_type, TType[] param_types, java.lang.String owner, TObject[] param_values)
Invokes a Java (type 1) procedure.TObject
ProcedureManager. invokeProcedure(ProcedureName procedure_name, TObject[] params)
Invokes the procedure with the given name and the given parameters and returns the procedure return value.private static boolean
Operator. isTrue(TObject bool)
Returns true if the given TObject is a boolean and is true.TObject
TObject. operatorAdd(TObject val)
Mathematical addition of this object to the given object.TObject
TObject. operatorConcat(TObject val)
String concat of this object to the given object.TObject
TObject. operatorDivide(TObject val)
Mathematical division of this object to the given object.TObject
TObject. operatorEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorGreater(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorGreaterEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorIs(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorLess(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorLessEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorMultiply(TObject val)
Mathematical multiply of this object to the given object.TObject
TObject. operatorNotEquals(TObject val)
Comparison of this object and the given object.TObject
TObject. operatorOr(TObject val)
Bitwise OR operation of this object with the given object.TObject
TObject. operatorSubtract(TObject val)
Mathematical subtraction of this object to the given object.private int
CollatedBaseSearch. positionOfRangePoint(byte flag, TObject val)
Given a flag (FIRST_VALUE, LAST_VALUE, BEFORE_FIRST_VALUE or AFTER_LAST_VALUE) and a value which is either a place marker (first, last in set) or a TObject object, this will determine the position in this set of the range point.TObject
AbstractAggregateFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)
Called just before the value is returned to the parent.TObject
InternalFunctionFactory.AvgFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)
void
DataCellCache. put(int table_key, int row, int column, TObject cell)
Puts a TObject on the cache for the given row/column of the table.private TObject
BlindSearch.RangeChecker. resolveCell(TObject ob)
Resolves a cell.static Table
FunctionTable. resultTable(DatabaseQueryContext context, TObject ob)
Returns a FunctionTable that has a single TObject in it.private int
BlindSearch. search(TObject ob, IntegerVector vec, int lower, int higher)
We implement an insert sort algorithm here.protected abstract int
CollatedBaseSearch. searchFirst(TObject val)
Finds the position in the collated set of the first value in the column equal to the given value.protected int
GTPrivMapDataSource.PrivMapSearch. searchFirst(TObject val)
protected int
InsertSearch. searchFirst(TObject val)
protected abstract int
CollatedBaseSearch. searchLast(TObject val)
Finds the position in the collated set of the last value in the column equal to the given value.protected int
GTPrivMapDataSource.PrivMapSearch. searchLast(TObject val)
protected int
InsertSearch. searchLast(TObject val)
IntegerVector
SelectableScheme. selectBetween(TObject ob1, TObject ob2)
IntegerVector
SelectableScheme. selectEqual(TObject ob)
(package private) IntegerVector
Table. selectFromPattern(int column, Operator op, TObject ob)
Selects all the rows where the given column matches the given pattern.(package private) IntegerVector
Table. selectFromRegex(int column, Operator op, TObject ob)
Selects all the rows where the given column matches the regular expression.IntegerVector
SelectableScheme. selectGreater(TObject ob)
IntegerVector
SelectableScheme. selectGreaterOrEqual(TObject ob)
IntegerVector
SimpleTableQuery. selectIndexesEqual(int column, TObject cell)
Finds the index of all the rows in the table where the given column is equal to the given object.IntegerVector
SimpleTableQuery. selectIndexesEqual(int col1, TObject cell1, int col2, TObject cell2)
Finds the index of all the rows in the table where the given column is equal to the given object for both of the clauses.IntegerVector
SelectableScheme. selectLess(TObject ob)
IntegerVector
SelectableScheme. selectLessOrEqual(TObject ob)
IntegerVector
SelectableScheme. selectNotEqual(TObject ob)
(package private) IntegerVector
Table. selectRows(int[] cols, Operator op, TObject[] cells)
Returns a set that respresents the list of multi-column row numbers selected from the table given the condition.(package private) IntegerVector
Table. selectRows(int column, Operator op, TObject cell)
Returns a set that represents the list of row numbers selected from the table given the condition.(package private) IntegerVector
Table. selectRows(int column, TObject min_cell, TObject max_cell)
Selects the rows in a table column between two minimum and maximum bounds.void
RowData. setColumnData(int column, TObject cell)
Sets up a column by casting the value from the given TObject to a type that is compatible with the column.void
RowData. setColumnDataFromTObject(int column, TObject ob)
Sets up a column from a TObject.void
CorrelatedVariable. setEvalResult(TObject ob)
Sets the value this correlated variable evaluates to.void
TemporaryTable. setRowCell(TObject cell, int column, int row)
Sets the cell in the given column / row to the given value.void
TemporaryTable. setRowCell(TObject cell, java.lang.String col_name)
Sets the cell in the column of the last row of this table to the given TObject.void
TemporaryTable. setRowObject(TObject ob, int col_index)
Sets the cell in the column of the last row of this table to the given TObject.void
TemporaryTable. setRowObject(TObject ob, int col_index, int row)
Sets the cell in the column of the last row of this table to the given TObject.void
TemporaryTable. setRowObject(TObject ob, java.lang.String col_name)
Sets the cell in the column of the last row of this table to the given TObject.(package private) void
DataCellSerialization. setToSerialize(TObject cell)
Sets this up with a TObject to serialize.private TObject[]
Table. singleArrayCellMap(TObject cell)
Convenience, returns a TObject[] array given a single TObject, or null if the TObject is null (not if TObject represents a null value).void
SelectableRangeSet. union(Operator op, TObject val)
Unions this range with the given Operator and value constraint.boolean
TObject. valuesEqual(TObject ob)
Equality test.private void
DataCellSerialization. writeToBuffer(TObject cell)
Writes the TObject to the data buffer in this object.Constructors in com.mckoi.database with parameters of type TObject Constructor Description SelectableRange(byte set_start_flag, TObject start, byte set_end_flag, TObject end)
Constructs the range. -
Uses of TObject in com.mckoi.database.jdbcserver
Methods in com.mckoi.database.jdbcserver that return TObject Modifier and Type Method Description (package private) TObject
AbstractJDBCDatabaseInterface.ResultSetInfo. getCellContents(int column, int row)
Gets the cell contents of the cell at the given row/column. -
Uses of TObject in com.mckoi.database.sql
Fields in com.mckoi.database.sql declared as TObject Modifier and Type Field Description private static TObject
Util. ZERO_NUMBER
Methods in com.mckoi.database.sql that return TObject Modifier and Type Method Description static TObject
Util. parseNumberToken(Token token, boolean negative)
Parses a NUMBER_LITERAL Token with a sign boolean.static TObject
Util. toArrayParamObject(Expression[] arr)
Converts an expression array to an array type that can be added to an expression.static TObject
Util. zeroNumber()
Returns numeric 0
-