public class SQLSystemClusterStoreView extends BaseSQLClusterStoreView
Constructor and Description |
---|
SQLSystemClusterStoreView(DBConnectionPool dbConnectionPool,
DBQueryExecutor dbQueryExecutor) |
Modifier and Type | Method and Description |
---|---|
protected PreparedStatement |
getClusterExistsStatement(Connection conn,
long id) |
protected PreparedStatement |
getDeleteClusterStatement(Connection conn,
long id) |
protected PreparedStatement |
getSelectAllClustersStatement(Connection conn) |
protected PreparedStatement |
getSelectClusterJobsStatement(Connection conn,
long id) |
protected PreparedStatement |
getSelectClusterNodesStatement(Connection conn,
long id) |
protected PreparedStatement |
getSelectClusterStatement(Connection conn,
long id) |
protected PreparedStatement |
getSelectNonTerminatedClusters(Connection conn) |
protected PreparedStatement |
getSetClusterStatement(Connection conn,
long id,
Cluster cluster,
byte[] clusterBytes) |
clusterExists, deleteCluster, getAllClusters, getAllClusterSummaries, getAllClusterSummaries, getCluster, getClusterJobs, getClusterNodes, getNonTerminatedClusters, setInClause, writeCluster
public SQLSystemClusterStoreView(DBConnectionPool dbConnectionPool, DBQueryExecutor dbQueryExecutor)
protected PreparedStatement getSelectAllClustersStatement(Connection conn) throws SQLException
SQLException
protected PreparedStatement getSelectNonTerminatedClusters(Connection conn) throws SQLException
SQLException
protected PreparedStatement getSelectClusterStatement(Connection conn, long id) throws SQLException
SQLException
protected PreparedStatement getSetClusterStatement(Connection conn, long id, Cluster cluster, byte[] clusterBytes) throws SQLException
SQLException
protected PreparedStatement getClusterExistsStatement(Connection conn, long id) throws SQLException
SQLException
protected PreparedStatement getDeleteClusterStatement(Connection conn, long id) throws SQLException
SQLException
protected PreparedStatement getSelectClusterJobsStatement(Connection conn, long id) throws SQLException
SQLException
protected PreparedStatement getSelectClusterNodesStatement(Connection conn, long id) throws SQLException
SQLException
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.