Class CassandraAdapter
java.lang.Object
app.ductape.sdk.database.adapters.BaseAdapter
app.ductape.sdk.database.adapters.CassandraAdapter
-
Field Summary
Fields inherited from class app.ductape.sdk.database.adapters.BaseAdapter
connected, connectionOptions, connectionUrl, maxRetries -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected DatabaseTypeintvoidvoidintbooleantableExists(String table) testConnection(Map<String, Object> options) intMethods inherited from class app.ductape.sdk.database.adapters.BaseAdapter
aggregate, attemptReconnect, beginTransaction, commitTransaction, createIndex, createSavepoint, dropIndex, executeWithRetry, executeWithRetry, getDatabaseType, getIndexStatistics, groupBy, isConnected, isConnectionError, listIndexes, rawQuery, releaseSavepoint, rollbackToSavepoint, rollbackTransaction, supportsDeferrableTransactions
-
Constructor Details
-
CassandraAdapter
public CassandraAdapter()
-
-
Method Details
-
databaseType
- Specified by:
databaseTypein classBaseAdapter
-
connect
- Specified by:
connectin classBaseAdapter
-
testConnection
- Specified by:
testConnectionin classBaseAdapter
-
disconnect
public void disconnect()- Specified by:
disconnectin classBaseAdapter
-
query
public List<Map<String,Object>> query(String table, Map<String, Object> where, int limit, int offset) - Specified by:
queryin classBaseAdapter
-
insert
- Specified by:
insertin classBaseAdapter
-
update
- Specified by:
updatein classBaseAdapter
-
delete
- Specified by:
deletein classBaseAdapter
-
tableExists
- Specified by:
tableExistsin classBaseAdapter
-
listTables
- Specified by:
listTablesin classBaseAdapter
-
schema
- Specified by:
schemain classBaseAdapter
-
createTable
- Specified by:
createTablein classBaseAdapter
-
dropTable
- Specified by:
dropTablein classBaseAdapter
-