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 DatabaseDatabaseConnection. databaseThe Database object that this connection is on.private DatabaseDefaultDataTable. databaseThe Database object that this table is a child of.private DatabaseUser. databaseThe database object that this user is currently logged into.Methods in com.mckoi.database that return Database Modifier and Type Method Description DatabaseCompositeTable. getDatabase()DatabaseDatabaseConnection.DCProcedureConnection. getDatabase()DatabaseDatabaseConnection. getDatabase()Returns the Database object for this connection.DatabaseDatabaseQueryContext. getDatabase()Returns the Database object that this context is a child of.DatabaseDataTableFilter. getDatabase()Returns the Database context for this filtered table.DatabaseDefaultDataTable. getDatabase()Returns the Database object this table is part of.DatabaseFilterTable. getDatabase()Returns the parent Database object.DatabaseJoinedTable. getDatabase()We simply pick the first table to resolve the Database object.DatabaseProcedureConnection. getDatabase()Returns the Database object for this database providing access to various general database features including backing up replication and configuration.abstract DatabaseTable. getDatabase()Returns the Database object that this table is derived from.DatabaseUser. 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 TemporaryTableTemporaryTable. 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 DatabaseDBSystem. databaseThe underlying Database object of this system.Methods in com.mckoi.database.control that return Database Modifier and Type Method Description private static DatabaseDBController. createDatabase(DBConfig config)Creates a Database object for the given DBConfig configuration.DatabaseDBSystem. 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) TemporaryTableShow. 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 DatabaseAbstractJDBCDatabaseInterface. databaseThe Databas object that represents the context of this database interface.private DatabaseMultiThreadedConnectionPoolServer. databaseThe Database parent.private DatabaseSingleThreadedConnectionPoolServer. databaseThe Database context.private DatabaseTCPServer. databaseThe 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 DatabaseAbstractJDBCDatabaseInterface. 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 booleanJDBCDatabaseInterface. 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.
-