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 TObjectTObject. BOOLEAN_FALSEstatic TObjectTObject. BOOLEAN_NULLstatic TObjectTObject. BOOLEAN_TRUEprivate TObject[]RowData. data_cell_listA list of TObject objects in the table.private TObjectSelectableRange. endThe end of the range to select from the set.private TObjectCorrelatedVariable. eval_resultThe temporary value this variable has been set to evaluate to.static TObjectSelectableRange. FIRST_IN_SETAn object that represents the first value in the set.static TObjectSelectableRange. LAST_IN_SETAn object that represents the last value in the set.private TObject[]BlindSearch.RangeChecker. lower_cellsThe TObject objects to check against.(package private) TObjectConnectionTriggerManager.TriggerInfo. miscstatic TObjectTObject. NULL_OBJECTprivate static TObjectSequenceManager. ONE_VALA static TObject that represents numeric 1.static TObjectGrantManager. PUBLIC_USERNAMEThe name of the 'public' username.private TObjectSelectableRange. startThe start of the range to select from the set.private static TObjectSequenceManager. TRUE_VALA static TObject that represents boolean true.private TObject[]BlindSearch.RangeChecker. upper_cellsMethods in com.mckoi.database that return TObject Modifier and Type Method Description static TObjectTObject. bigNumberVal(BigNumber val)Returns a TObject of numeric type that represents the given BigNumber value.static TObjectTObject. booleanVal(boolean b)Returns a TObject of boolean type that is either true or false.private TObjectFunctionTable. calcValue(int column, int row, DataCellCache cache)Return a TObject that represents the value of the 'column', 'row' of this table.TObjectTObject. castTo(TType cast_to_type)Casts this object to the given type and returns a new TObject.protected TObjectGTDataSource. columnValue(int column, java.lang.Object ob)Returns a TObject that represents a value for the given column in this table.static TObjectTObject. createAndCastFromObject(TType type, java.lang.Object ob)Returns a TObject of the given type and with the given Java object.private static TObjectInternalFunctionFactory.DateObFunction. dateVal(java.util.Date d)static TObjectTObject. dateVal(java.util.Date d)Returns a TObject of DATE type that represents the given time value.static TObjectTObject. doubleVal(double val)Returns a TObject of numeric type that represents the given double value.TObjectOperator.AddOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.AllOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.AndOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.AnyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.ConcatOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.DivideOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.EqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)abstract TObjectOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.GreaterEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.GreaterOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.IsNotOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.IsOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.LesserEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.LesserOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.MultiplyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.NotEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.OrOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.ParenOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.PatternMatchFalseOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.PatternMatchTrueOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.RegexOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.SimpleOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.SubtractOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)abstract TObjectAbstractAggregateFunction. evalAggregate(GroupResolver group, QueryContext context, TObject val1, TObject val2)Evaluates the aggregate function for the given values and returns the result.TObjectInternalFunctionFactory.AggOrFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.AvgFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.MaxFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.MinFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.SumFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectAbstractAggregateFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectExpression. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)Evaluates this expression and returns an Object that represents the result of the evaluation.TObjectExpression. evaluate(VariableResolver resolver, QueryContext context)Evaluation without a grouping table.TObjectFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)Evaluates the function and returns a TObject that represents the result of the function.TObjectInternalFunctionFactory.AbsFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.BinaryToHexFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.CoalesceFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.ConcatFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.CountFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.CurrValFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.DateFormatFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.DateObFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.DistinctCountFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.ForeignRuleConvert. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.GreatestFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.HexToBinaryFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.IfFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.JavaObjectInstantiation. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.JavaObjectInstantiation2. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.LeastFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.LengthFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.LowerFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.LTrimFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.ModFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.NextValFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.PowFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.PrivGroupsFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.PrivilegeString. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.RoundFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.RTrimFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SetValFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SignFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SQLCastFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SQLTrimFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SQLTypeString. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SqrtFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.SubstringFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.TimeObFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.TimeStampObFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.ToNumberFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.UniqueKeyFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.UpperFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.UserFunction. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)TObjectInternalFunctionFactory.ViewDataConvert. evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)(package private) TObjectRowData. 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 TObjectCollatedBaseSearch. firstInCollationOrder()Returns the first value of this column (in collated order).protected TObjectInsertSearch. firstInCollationOrder()TObjectDataCellCache. get(int table_key, int row, int column)Gets a TObject from the cache.TObjectSimpleTableQuery. get(int column, int row)Gets the TObject at the given cell in the table.TObjectCompositeTable. getCellContents(int column, int row)TObjectDatabaseConnection.TriggeredOldNewDataSource. getCellContents(int column, int row)TObjectDataTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectDataTableFilter. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectFilterTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectFunctionTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectGTConnectionInfoDataSource. getCellContents(int column, int row)TObjectGTCurrentConnectionsDataSource. getCellContents(int column, int row)abstract TObjectGTDataSource. getCellContents(int column, int row)TObjectGTPrivMapDataSource. getCellContents(int column, int row)TObjectGTProductDataSource. getCellContents(int column, int row)TObjectGTSQLTypeInfoDataSource. getCellContents(int column, int row)TObjectGTStatisticsDataSource. getCellContents(int column, int row)TObjectGTTableColumnsDataSource. getCellContents(int column, int row)TObjectGTTableInfoDataSource. getCellContents(int column, int row)TObjectJoinedTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.(package private) TObjectMasterTableDataSource. getCellContents(int column, int row)Returns the cell contents of the given cell in the table.TObjectMasterTableDataSource.MMutableTableDataSource. getCellContents(int column, int row)TObjectMasterTableDataSource.MRawDiagnosticTable. getCellContents(int column, int record_index)TObjectOuterTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectRawDiagnosticTable. getCellContents(int column, int record_index)Returns the contents of the given cell in this table.private TObjectRIDList. getCellContents(int row)Gets the cell at the given row in the column of the master table.protected TObjectSelectableScheme. getCellContents(int row)Obtains the given cell in the row from the table.TObjectSubsetColumnTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.abstract TObjectTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectTableAccessState. getCellContents(int column, int row)Returns the cell at the given row/column coordinates in the table.TObjectTableDataSource. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectTemporaryTable. getCellContents(int column, int row)Returns an object that represents the information in the given cell in the table.TObjectRowData. getCellData(int column)Returns the TObject that represents the information in the given column of the row.TObjectSelectableRange. getEnd()Returns the end of the range.TObjectCorrelatedVariable. getEvalResult()Returns the value this correlated variable evaluates to.TObjectTable. 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.TObjectTable. 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.TObjectTable. 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.TObjectSelectableRange. getStart()Returns the start of the range.(package private) abstract TObjectMasterTableDataSource. internalGetCellContents(int column, int row)Returns the cell contents of the given cell in the table.(package private) TObjectV1MasterTableDataSource. internalGetCellContents(int column, int row)(package private) TObjectV2MasterTableDataSource. internalGetCellContents(int column, int row)static TObjectTObject. intVal(int val)Returns a TObject of numeric type that represents the given int value.private TObjectProcedureManager. 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.TObjectProcedureManager. invokeProcedure(ProcedureName procedure_name, TObject[] params)Invokes the procedure with the given name and the given parameters and returns the procedure return value.protected TObjectCollatedBaseSearch. lastInCollationOrder()Returns the last value of this column (in collated order).protected TObjectInsertSearch. lastInCollationOrder()static TObjectTObject. longVal(long val)Returns a TObject of numeric type that represents the given long value.static TObjectTObject. nullVal()Returns a TObject of NULL type that represents a null value.static TObjectTObject. objectVal(java.lang.Object ob)Returns a TObject from the given Java value.TObjectTObject. operatorAdd(TObject val)Mathematical addition of this object to the given object.TObjectTObject. operatorConcat(TObject val)String concat of this object to the given object.TObjectTObject. operatorDivide(TObject val)Mathematical division of this object to the given object.TObjectTObject. operatorEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorGreater(TObject val)Comparison of this object and the given object.TObjectTObject. operatorGreaterEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorIs(TObject val)Comparison of this object and the given object.TObjectTObject. operatorLess(TObject val)Comparison of this object and the given object.TObjectTObject. operatorLessEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorMultiply(TObject val)Mathematical multiply of this object to the given object.TObjectTObject. operatorNot()Performs a logical NOT on this value.TObjectTObject. operatorNotEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorOr(TObject val)Bitwise OR operation of this object with the given object.TObjectTObject. operatorSubtract(TObject val)Mathematical subtraction of this object to the given object.TObjectAbstractAggregateFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)Called just before the value is returned to the parent.TObjectInternalFunctionFactory.AvgFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)TObjectDataCellCache. remove(int table_key, int row, int column)Removes a TObject from the cache.TObjectFunctionTable.TableGroupResolver. resolve(Variable variable, int set_index)TObjectFunctionTable.TableGroupResolver.TableGVResolver. resolve(Variable variable)TObjectGroupResolver. resolve(Variable variable, int set_index)Returns the value of a variable of a group.TObjectRowData.RDVariableResolver. resolve(Variable variable)TObjectTable.TableVariableResolver. resolve(Variable variable)TObjectTableDataConglomerate.TableRowVariableResolver. resolve(Variable variable)TObjectVariableResolver. resolve(Variable variable)Returns the value of a given variable.private TObjectBlindSearch.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 TObjectTObject. stringVal(StringObject str)Returns a TObject of VARCHAR type that represents the given StringObject value.static TObjectTObject. stringVal(java.lang.String str)Returns a TObject of VARCHAR type that represents the given String value.private TObjectInternalFunctionFactory.TimeObFunction. timeNow()Methods in com.mckoi.database with parameters of type TObject Modifier and Type Method Description booleanTable. 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 intDataCellCache. amountMemory(TObject cell)Returns an approximation of the amount of memory taken by a TObject.(package private) static java.lang.ObjectCaster. 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.booleanTable. columnContainsCell(int column, TObject cell)Returns true if the given cell is found in the table.booleanTable. columnContainsValue(int column, TObject ob)Returns true if the given column number contains the value given.booleanTable. 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.booleanTObject. comparableTypes(TObject ob)Returns true if the type of this object is logically comparable to the type of the given object.static booleanTable. compareCells(TObject ob1, TObject ob2, Operator op)Compares cell1 with cell2 and if the given operator evalutes to true then returns true, otherwise false.intTObject. compareTo(TObject tob)Compares this object with the given object (which is of a logically comparable type).intTObject. compareToNoNulls(TObject tob)Compares this object with the given object (which is of a logically comparable type).voidConnectionTriggerManager. 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 voidCaster. deserializeJavaObjects(TObject[] args)Find any JAVA_OBJECTs in the args and deserialize them into real Java objects.TObjectOperator.AddOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.AllOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.AndOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.AnyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.ConcatOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.DivideOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.EqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)abstract TObjectOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.GreaterEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.GreaterOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.IsNotOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.IsOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.LesserEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.LesserOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.MultiplyOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.NotEqualOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.OrOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.ParenOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.PatternMatchFalseOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.PatternMatchTrueOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.RegexOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.SimpleOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)TObjectOperator.SubtractOperator. eval(TObject ob1, TObject ob2, GroupResolver group, VariableResolver resolver, QueryContext context)abstract TObjectAbstractAggregateFunction. evalAggregate(GroupResolver group, QueryContext context, TObject val1, TObject val2)Evaluates the aggregate function for the given values and returns the result.TObjectInternalFunctionFactory.AggOrFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.AvgFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.MaxFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.MinFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)TObjectInternalFunctionFactory.SumFunction. evalAggregate(GroupResolver group, QueryContext context, TObject ob1, TObject ob2)private voidMasterTableDataSource.MMutableTableDataSource. executeDeleteReferentialAction(Transaction.ColumnGroupReference constraint, TObject[] original_key, QueryContext context)Executes a delete referential action.private voidMasterTableDataSource.MMutableTableDataSource. executeUpdateReferentialAction(Transaction.ColumnGroupReference constraint, TObject[] original_key, TObject[] new_key, QueryContext context)Executes an update referential action.static java.lang.reflect.ConstructorCaster. 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 IntegerVectorTableDataConglomerate. findKeys(TableDataSource t2, int[] col2_indexes, TObject[] key_value)Returns the key indices found in the given table.static java.lang.StringCaster. getArgTypesString(TObject[] args)Get a string giving the database types of all of the arguments.(package private) static intCaster. 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 intCaster. 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 intCaster. 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 intCaster. 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 intBlindSearch. 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) voidRIDList. insertRID(TObject cell, int row)Algorithm for inserting a new row into the rid table.voidSelectableRangeSet. intersect(Operator op, TObject val)Intersects this range with the given Operator and value constraint.private static SelectableRangeSelectableRangeSet. intersectRange(SelectableRange range, Operator op, TObject val, boolean null_check)Intersects the given SelectableRange object with the given Operator and value constraint.private TObjectProcedureManager. 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.TObjectProcedureManager. 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 booleanOperator. isTrue(TObject bool)Returns true if the given TObject is a boolean and is true.TObjectTObject. operatorAdd(TObject val)Mathematical addition of this object to the given object.TObjectTObject. operatorConcat(TObject val)String concat of this object to the given object.TObjectTObject. operatorDivide(TObject val)Mathematical division of this object to the given object.TObjectTObject. operatorEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorGreater(TObject val)Comparison of this object and the given object.TObjectTObject. operatorGreaterEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorIs(TObject val)Comparison of this object and the given object.TObjectTObject. operatorLess(TObject val)Comparison of this object and the given object.TObjectTObject. operatorLessEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorMultiply(TObject val)Mathematical multiply of this object to the given object.TObjectTObject. operatorNotEquals(TObject val)Comparison of this object and the given object.TObjectTObject. operatorOr(TObject val)Bitwise OR operation of this object with the given object.TObjectTObject. operatorSubtract(TObject val)Mathematical subtraction of this object to the given object.private intCollatedBaseSearch. 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.TObjectAbstractAggregateFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)Called just before the value is returned to the parent.TObjectInternalFunctionFactory.AvgFunction. postEvalAggregate(GroupResolver group, QueryContext context, TObject result)voidDataCellCache. 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 TObjectBlindSearch.RangeChecker. resolveCell(TObject ob)Resolves a cell.static TableFunctionTable. resultTable(DatabaseQueryContext context, TObject ob)Returns a FunctionTable that has a single TObject in it.private intBlindSearch. search(TObject ob, IntegerVector vec, int lower, int higher)We implement an insert sort algorithm here.protected abstract intCollatedBaseSearch. searchFirst(TObject val)Finds the position in the collated set of the first value in the column equal to the given value.protected intGTPrivMapDataSource.PrivMapSearch. searchFirst(TObject val)protected intInsertSearch. searchFirst(TObject val)protected abstract intCollatedBaseSearch. searchLast(TObject val)Finds the position in the collated set of the last value in the column equal to the given value.protected intGTPrivMapDataSource.PrivMapSearch. searchLast(TObject val)protected intInsertSearch. searchLast(TObject val)IntegerVectorSelectableScheme. selectBetween(TObject ob1, TObject ob2)IntegerVectorSelectableScheme. selectEqual(TObject ob)(package private) IntegerVectorTable. selectFromPattern(int column, Operator op, TObject ob)Selects all the rows where the given column matches the given pattern.(package private) IntegerVectorTable. selectFromRegex(int column, Operator op, TObject ob)Selects all the rows where the given column matches the regular expression.IntegerVectorSelectableScheme. selectGreater(TObject ob)IntegerVectorSelectableScheme. selectGreaterOrEqual(TObject ob)IntegerVectorSimpleTableQuery. 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.IntegerVectorSimpleTableQuery. 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.IntegerVectorSelectableScheme. selectLess(TObject ob)IntegerVectorSelectableScheme. selectLessOrEqual(TObject ob)IntegerVectorSelectableScheme. selectNotEqual(TObject ob)(package private) IntegerVectorTable. 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) IntegerVectorTable. 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) IntegerVectorTable. selectRows(int column, TObject min_cell, TObject max_cell)Selects the rows in a table column between two minimum and maximum bounds.voidRowData. 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.voidRowData. setColumnDataFromTObject(int column, TObject ob)Sets up a column from a TObject.voidCorrelatedVariable. setEvalResult(TObject ob)Sets the value this correlated variable evaluates to.voidTemporaryTable. setRowCell(TObject cell, int column, int row)Sets the cell in the given column / row to the given value.voidTemporaryTable. 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.voidTemporaryTable. setRowObject(TObject ob, int col_index)Sets the cell in the column of the last row of this table to the given TObject.voidTemporaryTable. 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.voidTemporaryTable. 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) voidDataCellSerialization. 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).voidSelectableRangeSet. union(Operator op, TObject val)Unions this range with the given Operator and value constraint.booleanTObject. valuesEqual(TObject ob)Equality test.private voidDataCellSerialization. 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) TObjectAbstractJDBCDatabaseInterface.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 TObjectUtil. ZERO_NUMBERMethods in com.mckoi.database.sql that return TObject Modifier and Type Method Description static TObjectUtil. parseNumberToken(Token token, boolean negative)Parses a NUMBER_LITERAL Token with a sign boolean.static TObjectUtil. toArrayParamObject(Expression[] arr)Converts an expression array to an array type that can be added to an expression.static TObjectUtil. zeroNumber()Returns numeric 0
-