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.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_TRUEstatic 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.static TObjectTObject. NULL_OBJECTstatic TObjectGrantManager. PUBLIC_USERNAMEThe name of the 'public' username.Methods 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.TObjectTObject. castTo(TType cast_to_type)Casts this object to the given type and returns a new TObject.static TObjectTObject. createAndCastFromObject(TType type, java.lang.Object ob)Returns a TObject of the given type and with the given Java object.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.abstract TObjectOperator. 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.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.protected TObjectCollatedBaseSearch. firstInCollationOrder()Returns the first value of this column (in collated order).protected TObjectInsertSearch. firstInCollationOrder()TObjectSimpleTableQuery. get(int column, int row)Gets the TObject at the given cell in the table.TObjectCompositeTable. 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.TObjectGTPrivMapDataSource. getCellContents(int column, int row)TObjectGTSQLTypeInfoDataSource. 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.TObjectRawDiagnosticTable. getCellContents(int column, int record_index)Returns the contents of the given cell in this 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.static TObjectTObject. intVal(int val)Returns a TObject of numeric type that represents the given int value.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.TObjectGroupResolver. resolve(Variable variable, int set_index)Returns the value of a variable of a group.TObjectVariableResolver. resolve(Variable variable)Returns the value of a given variable.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.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.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.abstract TObjectOperator. 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.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.static java.lang.StringCaster. getArgTypesString(TObject[] args)Get a string giving the database types of all of the arguments.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.voidSelectableRangeSet. intersect(Operator op, TObject val)Intersects this range with the given Operator and value constraint.TObjectProcedureManager. invokeProcedure(ProcedureName procedure_name, TObject[] params)Invokes the procedure with the given name and the given parameters and returns the procedure return 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. 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.static TableFunctionTable. resultTable(DatabaseQueryContext context, TObject ob)Returns a FunctionTable that has a single TObject in it.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 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 intInsertSearch. searchLast(TObject val)IntegerVectorSelectableScheme. selectBetween(TObject ob1, TObject ob2)IntegerVectorSelectableScheme. selectEqual(TObject ob)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)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.voidSelectableRangeSet. union(Operator op, TObject val)Unions this range with the given Operator and value constraint.booleanTObject. valuesEqual(TObject ob)Equality test.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.sql
Methods 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
-