Uses of Interface
com.mckoi.database.jdbc.DatabaseInterface
-
Packages that use DatabaseInterface Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.jdbc The JDBC interface to Mckoi.com.mckoi.database.jdbcserver Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode. -
-
Uses of DatabaseInterface in com.mckoi.database
Classes in com.mckoi.database that implement DatabaseInterface Modifier and Type Class Description private static class
InternalJDBCHelper.InternalDatabaseInterface
An implementation of DatabaseInterface used to execute queries on the DatabaseConnection and return results to the JDBC client. -
Uses of DatabaseInterface in com.mckoi.database.jdbc
Classes in com.mckoi.database.jdbc that implement DatabaseInterface Modifier and Type Class Description (package private) class
RemoteDatabaseInterface
An abstract implementation of DatabaseInterface that retrieves information from a remote server host.(package private) class
StreamDatabaseInterface
An stream implementation of an interface to a McKoi database.(package private) class
TCPStreamDatabaseInterface
Connection to the database via the TCP protocol.Fields in com.mckoi.database.jdbc declared as DatabaseInterface Modifier and Type Field Description private DatabaseInterface
MConnection. db_interface
The interface to the database.Methods in com.mckoi.database.jdbc that return DatabaseInterface Modifier and Type Method Description DatabaseInterface
LocalBootable. boot(DBConfig config)
Boots the database with the given configuration.DatabaseInterface
LocalBootable. connectToJVM()
Connects this interface to the database currently running in this JVM.DatabaseInterface
LocalBootable. create(java.lang.String username, java.lang.String password, DBConfig config)
Attempts to create a new database system with the given name, and the given username/password as the admin user for the system.Constructors in com.mckoi.database.jdbc with parameters of type DatabaseInterface Constructor Description MConnection(java.lang.String url, DatabaseInterface db_interface, int cache_size, int max_size)
Constructor. -
Uses of DatabaseInterface in com.mckoi.database.jdbcserver
Classes in com.mckoi.database.jdbcserver that implement DatabaseInterface Modifier and Type Class Description class
AbstractJDBCDatabaseInterface
An abstract implementation of JDBCDatabaseInterface that provides a connection between a single DatabaseConnection and a DatabaseInterface implementation.private class
DefaultLocalBootable.LocalJDBCDatabaseInterface
A local implementation of JDBCDatabaseInterface that will dispose the parent LocalBootable object when the last open connection is disposed.class
JDBCDatabaseInterface
An implementation of jdbc.DatabaseInterface on the server-side.Fields in com.mckoi.database.jdbcserver declared as DatabaseInterface Modifier and Type Field Description private DatabaseInterface
JDBCProcessor. db_interface
The interface to the database.Methods in com.mckoi.database.jdbcserver that return DatabaseInterface Modifier and Type Method Description DatabaseInterface
DefaultLocalBootable. boot(DBConfig config)
Boots the local database with the given configuration.DatabaseInterface
DefaultLocalBootable. connectToJVM()
Creates a new LocalDatabaseInterface that is connected to the database currently running in this VM.DatabaseInterface
DefaultLocalBootable. create(java.lang.String username, java.lang.String password, DBConfig config)
Creates and boots a local database with the given configuration.Constructors in com.mckoi.database.jdbcserver with parameters of type DatabaseInterface Constructor Description JDBCProcessor(DatabaseInterface db_interface, DebugLogger logger)
Sets up the processor.StreamJDBCServerConnection(DatabaseInterface db_interface, java.io.InputStream in, java.io.OutputStream out, DebugLogger logger)
Sets up the protocol connection.TCPJDBCServerConnection(DatabaseInterface db_interface, java.net.Socket socket, DebugLogger logger)
Constructs the ServerConnection object.
-