Uses of Class
com.mckoi.database.Database
-
Packages that use Database Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.control com.mckoi.database.interpret com.mckoi.database.jdbcserver Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode. -
-
Uses of Database in com.mckoi.database
Fields in com.mckoi.database declared as Database Modifier and Type Field Description private Database
DatabaseConnection. database
The Database object that this connection is on.private Database
DefaultDataTable. database
The Database object that this table is a child of.private Database
User. database
The database object that this user is currently logged into.Methods in com.mckoi.database that return Database Modifier and Type Method Description Database
CompositeTable. getDatabase()
Database
DatabaseConnection.DCProcedureConnection. getDatabase()
Database
DatabaseConnection. getDatabase()
Returns the Database object for this connection.Database
DatabaseQueryContext. getDatabase()
Returns the Database object that this context is a child of.Database
DataTableFilter. getDatabase()
Returns the Database context for this filtered table.Database
DefaultDataTable. getDatabase()
Returns the Database object this table is part of.Database
FilterTable. getDatabase()
Returns the parent Database object.Database
JoinedTable. getDatabase()
We simply pick the first table to resolve the Database object.Database
ProcedureConnection. getDatabase()
Returns the Database object for this database providing access to various general database features including backing up replication and configuration.abstract Database
Table. getDatabase()
Returns the Database object that this table is derived from.Database
User. getDatabase()
Returns the Database object that this user belongs to.Methods in com.mckoi.database with parameters of type Database Modifier and Type Method Description (package private) static TemporaryTable
TemporaryTable. singleColumnTable(Database database, java.lang.String col_name, java.lang.Class c)
Creates a table with a single column with the given name and type.Constructors in com.mckoi.database with parameters of type Database Constructor Description DatabaseConnection(Database database, User user, DatabaseConnection.CallBack call_back)
(package protected) Constructs the connection.DefaultDataTable(Database database)
The Constructor.TemporaryTable(Database database, java.lang.String name, DataTableColumnDef[] fields)
The Constructor.User(java.lang.String user_name, Database database, java.lang.String connection_string, long time_connected)
The Constructor. -
Uses of Database in com.mckoi.database.control
Fields in com.mckoi.database.control declared as Database Modifier and Type Field Description private Database
DBSystem. database
The underlying Database object of this system.Methods in com.mckoi.database.control that return Database Modifier and Type Method Description private static Database
DBController. createDatabase(DBConfig config)
Creates a Database object for the given DBConfig configuration.Database
DBSystem. getDatabase()
Returns the com.mckoi.database.Database object for this control.Constructors in com.mckoi.database.control with parameters of type Database Constructor Description DBSystem(DBController controller, DBConfig config, Database database)
Package-protected constructor. -
Uses of Database in com.mckoi.database.interpret
Methods in com.mckoi.database.interpret with parameters of type Database Modifier and Type Method Description (package private) TemporaryTable
Show. createEmptyTable(Database d, java.lang.String name, java.lang.String[] cols)
Convenience, creates an empty table with the given column names. -
Uses of Database in com.mckoi.database.jdbcserver
Fields in com.mckoi.database.jdbcserver declared as Database Modifier and Type Field Description private Database
AbstractJDBCDatabaseInterface. database
The Databas object that represents the context of this database interface.private Database
MultiThreadedConnectionPoolServer. database
The Database parent.private Database
SingleThreadedConnectionPoolServer. database
The Database context.private Database
TCPServer. database
The parent Database object that describes everything about the database this TCP server is for.Methods in com.mckoi.database.jdbcserver that return Database Modifier and Type Method Description protected Database
AbstractJDBCDatabaseInterface. getDatabase()
Returns the Database that is the context of this interface.Methods in com.mckoi.database.jdbcserver with parameters of type Database Modifier and Type Method Description private boolean
JDBCDatabaseInterface. authenticate(Database database, java.lang.String default_schema, java.lang.String username, java.lang.String password, DatabaseCallBack database_call_back)
Tries to authenticate the username and password against the given database.Constructors in com.mckoi.database.jdbcserver with parameters of type Database Constructor Description AbstractJDBCDatabaseInterface(Database database)
Sets up the database interface.JDBCDatabaseInterface(Database database, java.lang.String host_name)
Sets up the processor.LocalJDBCDatabaseInterface(Database database, java.lang.String host_string)
MultiThreadedConnectionPoolServer(Database database)
The Constructor.SingleThreadedConnectionPoolServer(Database database)
The Constructor.TCPServer(Database database)
Constructs the TCPServer over the given DatabaseSystem configuration.
-