- get(String) - Method in class PrologDB.Tuple
-
returns value of given columnName; if columnName unrecognized, Error is
thrown
Note: do not rename this method; required by velocity
- getBool(String) - Method in class PrologDB.Tuple
-
return boolean value of a column with columnName; no checking is done to
know if column value can be converted into a boolean
- getColumn(String) - Method in class PrologDB.TableSchema
-
- getColumnEH(String) - Method in class PrologDB.TableSchema
-
- getColumns() - Method in class PrologDB.Table
-
returns list of columns of the table; delegates to getColumns of
TableSchema
- getColumns() - Method in class PrologDB.TableSchema
-
returns list of columns of a TableSchema
- getColumns() - Method in class PrologDB.Tuple
-
returns list of all columns for this tuple.
- getCSVName(String) - Static method in class PrologDB.Table
-
returns the name of a csv file, sans ".csv" and any directory information
linux example: "a/b/c.csv" returns "c" windoze example: "a\b\c.csv"
returns "c"
- getDBSchema() - Method in class PrologDB.Table
-
returns the DBSchema of this table.
- getDBSchemaEH() - Method in class PrologDB.Table
-
returns the DBSchema of this table.
- getDouble(String) - Method in class PrologDB.Tuple
-
return double value of a column with columnName; no checking is done to
know if column value can be converted into an double
- getFirst(Predicate<Tuple>) - Method in class PrologDB.Table
-
return first tuple in table that satisfies predicate p
- getFirstEH(Predicate<Tuple>) - Method in class PrologDB.Table
-
return first tuple in table that satisfies predicate p
- getFloat(String) - Method in class PrologDB.Tuple
-
return float value of a column with columnName; no checking is done to
know if column value can be converted into a float
- getFullName() - Method in class PrologDB.DB
-
the full name of a database is "databaseName"."schemaName"."pl"; this is
the assumed or standard name for a prolog database file.
- getFullName() - Method in class PrologDB.DBSchema
-
full (file) name of a schema is (name).schema.pl
- getIndex(int) - Method in class PrologDB.TableSchema
-
returns the ith Column definition of the table; throws RuntimeError if i
is out of bounds.
- getInt(String) - Method in class PrologDB.Tuple
-
return int value of column with columnName; no checking is done to know
if column value can be converted into an int
- getKey(String) - Method in class PrologDB.KeyedTable
-
returns the tuple with the given keyValue; null returned if no such
keyValue exists
- getKeyEH(String) - Method in class PrologDB.KeyedTable
-
Error Handling version of getKey; Error returned if no
such tuple exists
- getName() - Method in class PrologDB.Column
-
Returns string name of column
- getName() - Method in class PrologDB.DB
-
returns the name of this database
- getName() - Method in class PrologDB.DBSchema
-
return the name of the schema
- getName() - Method in class PrologDB.SubTableSchema
-
return name of super Table
- getName() - Method in class PrologDB.Table
-
returns name of table, which always equals the name of its table schema
- getName() - Method in class PrologDB.TableSchema
-
returns schemaName of table schema
- getNull(String) - Method in class PrologDB.Tuple
-
returns 'null' if string content of columnName is "null" otherwise string
column value is returned
- getSchema() - Method in class PrologDB.DB
-
returns DBSchema that this database instantiates
- getSchema() - Method in class PrologDB.Table
-
returns schema of table
- getSchema() - Method in class PrologDB.Tuple
-
returns TableSchema of 'this' tuple
- getSchemaName() - Method in class PrologDB.DB
-
returns name of DB schema that this database instantiates.
- getSubTables() - Method in class PrologDB.Table
-
returns list of table + its subtables to search note: this method is
really executed once.
- getSubTableSchema(TableSchema) - Method in class PrologDB.DB
-
returns subtable declaration for a given table schema ts;
if no such declaration exists, null is returned; this declaration
lists the subtables of the given table.
- getSubTableSchema(String) - Method in class PrologDB.DBSchema
-
returns subtable object for given tableName, null if none exists
- getSubTableSchema(TableSchema) - Method in class PrologDB.DBSchema
-
returns subtable object for given tableSchema ts, null if none exists
- getSubTableSchemaEH(String) - Method in class PrologDB.DBSchema
-
returns subtable object for given tableName; throws Error if no
such tableName exists
- getSubTableSchemaEH(TableSchema) - Method in class PrologDB.DBSchema
-
returns subtable object for given tableSchema ts; throws Error
if no such ts exists
- getSubTableSchemas() - Method in class PrologDB.DB
-
returns a list of subtable declarations for this database's schema.
- getSubTableSchemas() - Method in class PrologDB.DBSchema
-
return list of SubTableSchemas of this database schema
- getSubTableSchemas() - Method in class PrologDB.SubTableSchema
-
- getSuper() - Method in class PrologDB.SubTableSchema
-
- getTable(String) - Method in class PrologDB.DB
-
returns the Table object for the table with name tableName;
null is returned if table does not exist
- getTableEH(String) - Method in class PrologDB.DB
-
error handler of getTable(String); return the Table object for the table
with name tableName; Error is thrown if no such table exists.
- getTables() - Method in class PrologDB.DB
-
returns a collection of tables that define this database
- getTableSchema(String) - Method in class PrologDB.DB
-
returns the TableSchema of the table with given name; null if table is
not found
- getTableSchema(String) - Method in class PrologDB.DBSchema
-
return the TableSchema with name tableName
- getTableSchemaEH(String) - Method in class PrologDB.DB
-
returns the TableSchema of the table with given name; Error
is thrown otherwise
- getTableSchemaEH(String) - Method in class PrologDB.DBSchema
-
return the TableSchema with name tableName
- getTableSchemas() - Method in class PrologDB.DBSchema
-
return list of TableSchemas of this database schema