Uses of Class
com.cryptoalgo.oursql.model.db.Cluster
Package
Description
Data model classes.
Unified interfaces for the Database Abstraction Layer.
-
Uses of Cluster in com.cryptoalgo.oursql.model
Modifier and TypeMethodDescriptionvoid
HomeViewModel.addCluster
(@NotNull Cluster c) Add a specified cluster, will fire listeners if any are registeredvoid
HomeViewModel.createTable
(@NotNull Cluster cluster, @NotNull String table) Create a table in a clustervoid
HomeViewModel.newTableSelection
(Cluster cluster, String table) Select and load a new table@Nullable javafx.collections.ObservableList<String>
HomeViewModel.requestTables
(Cluster cluster) Request to load the tables of a particular database cluster.Modifier and TypeMethodDescriptionvoid
HomeViewModel.setOnNewCluster
(BiConsumer<Cluster, Integer> cb) Register a new listener to be called when cluster(s) are added -
Uses of Cluster in com.cryptoalgo.oursql.model.db
Modifier and TypeMethodDescriptionstatic Cluster
Convenience method that wrapsDecoder
, allows deserializing the cluster with the requested ID fromPreferences
Modifier and TypeMethodDescriptionstatic Connection
DatabaseUtils.getConnection
(@NotNull Cluster cluster, @Nullable String password) Convenience method to get a JDBC connection from a cluster and password.static Connection
DatabaseUtils.getConnection
(@NotNull URI connURI, @NotNull Cluster cluster, @Nullable String password) Get a database connectionstatic URI
DatabaseUtils.getConnectionURI
(@NotNull Cluster cluster) Generates a database connection URI given aCluster
and a password.