Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
rapture.common.client.HttpStructuredApi Maven / Gradle / Ivy
/**
* The MIT License (MIT)
*
* Copyright (C) 2011-2016 Incapture Technologies LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/**
* This file is autogenerated and any changes will be overwritten.
*/
package rapture.common.client;
import java.util.List;
import java.util.Map;
import rapture.common.api.StructuredApi;
import rapture.common.api.ScriptStructuredApi;
import rapture.common.CallingContext;
import rapture.common.model.GeneralResponse;
import rapture.common.model.BasePayload;
import rapture.common.exception.RaptureException;
import rapture.common.impl.jackson.JacksonUtil;
import com.fasterxml.jackson.core.type.TypeReference;
import org.apache.log4j.Logger;
import rapture.common.StoredProcedureParams;
import rapture.common.StoredProcedureResponse;
import rapture.common.TableIndex;
import rapture.common.StructuredRepoConfig;
import rapture.common.ForeignKey;
import rapture.common.shared.structured.CreateStructuredRepoPayload;
import rapture.common.shared.structured.DeleteStructuredRepoPayload;
import rapture.common.shared.structured.StructuredRepoExistsPayload;
import rapture.common.shared.structured.GetStructuredRepoConfigPayload;
import rapture.common.shared.structured.GetStructuredRepoConfigsPayload;
import rapture.common.shared.structured.CreateTableUsingSqlPayload;
import rapture.common.shared.structured.CreateTablePayload;
import rapture.common.shared.structured.DropTablePayload;
import rapture.common.shared.structured.TableExistsPayload;
import rapture.common.shared.structured.GetSchemasPayload;
import rapture.common.shared.structured.GetTablesPayload;
import rapture.common.shared.structured.DescribeTablePayload;
import rapture.common.shared.structured.AddTableColumnsPayload;
import rapture.common.shared.structured.DeleteTableColumnsPayload;
import rapture.common.shared.structured.UpdateTableColumnsPayload;
import rapture.common.shared.structured.RenameTableColumnsPayload;
import rapture.common.shared.structured.CreateIndexPayload;
import rapture.common.shared.structured.DropIndexPayload;
import rapture.common.shared.structured.GetIndexesPayload;
import rapture.common.shared.structured.SelectJoinedRowsPayload;
import rapture.common.shared.structured.SelectUsingSqlPayload;
import rapture.common.shared.structured.SelectRowsPayload;
import rapture.common.shared.structured.InsertUsingSqlPayload;
import rapture.common.shared.structured.InsertRowPayload;
import rapture.common.shared.structured.InsertRowsPayload;
import rapture.common.shared.structured.DeleteUsingSqlPayload;
import rapture.common.shared.structured.DeleteRowsPayload;
import rapture.common.shared.structured.UpdateUsingSqlPayload;
import rapture.common.shared.structured.UpdateRowsPayload;
import rapture.common.shared.structured.BeginPayload;
import rapture.common.shared.structured.CommitPayload;
import rapture.common.shared.structured.RollbackPayload;
import rapture.common.shared.structured.AbortPayload;
import rapture.common.shared.structured.GetTransactionsPayload;
import rapture.common.shared.structured.GetDdlPayload;
import rapture.common.shared.structured.GetCursorUsingSqlPayload;
import rapture.common.shared.structured.GetCursorPayload;
import rapture.common.shared.structured.GetCursorForJoinPayload;
import rapture.common.shared.structured.NextPayload;
import rapture.common.shared.structured.PreviousPayload;
import rapture.common.shared.structured.CloseCursorPayload;
import rapture.common.shared.structured.CreateProcedureCallUsingSqlPayload;
import rapture.common.shared.structured.CallProcedurePayload;
import rapture.common.shared.structured.DropProcedureUsingSqlPayload;
import rapture.common.shared.structured.GetPrimaryKeyPayload;
import rapture.common.shared.structured.GetForeignKeysPayload;
@SuppressWarnings("all")
public class HttpStructuredApi extends BaseHttpApi implements StructuredApi, ScriptStructuredApi {
private static final Logger log = Logger.getLogger(HttpStructuredApi.class);
public HttpStructuredApi(HttpLoginApi login) {
super(login, "structured");
}
@Override
public void createStructuredRepo(CallingContext context, String uri, String config) {
CreateStructuredRepoPayload requestObj = new CreateStructuredRepoPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setUri(uri);
requestObj.setConfig(config);
doRequest(requestObj, "CREATESTRUCTUREDREPO", null); }
@Override
public void deleteStructuredRepo(CallingContext context, String uri) {
DeleteStructuredRepoPayload requestObj = new DeleteStructuredRepoPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setUri(uri);
doRequest(requestObj, "DELETESTRUCTUREDREPO", null); }
private static final class StructuredRepoExistsTypeReference extends TypeReference {
}
@Override
public Boolean structuredRepoExists(CallingContext context, String uri) {
StructuredRepoExistsPayload requestObj = new StructuredRepoExistsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setUri(uri);
return doRequest(requestObj, "STRUCTUREDREPOEXISTS", new StructuredRepoExistsTypeReference()); }
private static final class GetStructuredRepoConfigTypeReference extends TypeReference {
}
@Override
public StructuredRepoConfig getStructuredRepoConfig(CallingContext context, String uri) {
GetStructuredRepoConfigPayload requestObj = new GetStructuredRepoConfigPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setUri(uri);
return doRequest(requestObj, "GETSTRUCTUREDREPOCONFIG", new GetStructuredRepoConfigTypeReference()); }
private static final class GetStructuredRepoConfigsTypeReference extends TypeReference> {
}
@Override
public List getStructuredRepoConfigs(CallingContext context) {
GetStructuredRepoConfigsPayload requestObj = new GetStructuredRepoConfigsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
return doRequest(requestObj, "GETSTRUCTUREDREPOCONFIGS", new GetStructuredRepoConfigsTypeReference()); }
@Override
public void createTableUsingSql(CallingContext context, String schema, String rawSql) {
CreateTableUsingSqlPayload requestObj = new CreateTableUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setSchema(schema);
requestObj.setRawSql(rawSql);
doRequest(requestObj, "CREATETABLEUSINGSQL", null); }
@Override
public void createTable(CallingContext context, String tableUri, Map columns) {
CreateTablePayload requestObj = new CreateTablePayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumns(columns);
doRequest(requestObj, "CREATETABLE", null); }
@Override
public void dropTable(CallingContext context, String tableUri) {
DropTablePayload requestObj = new DropTablePayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
doRequest(requestObj, "DROPTABLE", null); }
private static final class TableExistsTypeReference extends TypeReference {
}
@Override
public Boolean tableExists(CallingContext context, String tableUri) {
TableExistsPayload requestObj = new TableExistsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
return doRequest(requestObj, "TABLEEXISTS", new TableExistsTypeReference()); }
private static final class GetSchemasTypeReference extends TypeReference> {
}
@Override
public List getSchemas(CallingContext context) {
GetSchemasPayload requestObj = new GetSchemasPayload();
requestObj.setContext(context == null ? this.getContext() : context);
return doRequest(requestObj, "GETSCHEMAS", new GetSchemasTypeReference()); }
private static final class GetTablesTypeReference extends TypeReference> {
}
@Override
public List getTables(CallingContext context, String repoUri) {
GetTablesPayload requestObj = new GetTablesPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setRepoUri(repoUri);
return doRequest(requestObj, "GETTABLES", new GetTablesTypeReference()); }
private static final class DescribeTableTypeReference extends TypeReference> {
}
@Override
public Map describeTable(CallingContext context, String tableUri) {
DescribeTablePayload requestObj = new DescribeTablePayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
return doRequest(requestObj, "DESCRIBETABLE", new DescribeTableTypeReference()); }
@Override
public void addTableColumns(CallingContext context, String tableUri, Map columns) {
AddTableColumnsPayload requestObj = new AddTableColumnsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumns(columns);
doRequest(requestObj, "ADDTABLECOLUMNS", null); }
@Override
public void deleteTableColumns(CallingContext context, String tableUri, List columnNames) {
DeleteTableColumnsPayload requestObj = new DeleteTableColumnsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumnNames(columnNames);
doRequest(requestObj, "DELETETABLECOLUMNS", null); }
@Override
public void updateTableColumns(CallingContext context, String tableUri, Map columns) {
UpdateTableColumnsPayload requestObj = new UpdateTableColumnsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumns(columns);
doRequest(requestObj, "UPDATETABLECOLUMNS", null); }
@Override
public void renameTableColumns(CallingContext context, String tableUri, Map columnNames) {
RenameTableColumnsPayload requestObj = new RenameTableColumnsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumnNames(columnNames);
doRequest(requestObj, "RENAMETABLECOLUMNS", null); }
@Override
public void createIndex(CallingContext context, String tableUri, String indexName, List columnNames) {
CreateIndexPayload requestObj = new CreateIndexPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setIndexName(indexName);
requestObj.setColumnNames(columnNames);
doRequest(requestObj, "CREATEINDEX", null); }
@Override
public void dropIndex(CallingContext context, String tableUri, String indexName) {
DropIndexPayload requestObj = new DropIndexPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setIndexName(indexName);
doRequest(requestObj, "DROPINDEX", null); }
private static final class GetIndexesTypeReference extends TypeReference> {
}
@Override
public List getIndexes(CallingContext context, String tableUri) {
GetIndexesPayload requestObj = new GetIndexesPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
return doRequest(requestObj, "GETINDEXES", new GetIndexesTypeReference()); }
private static final class SelectJoinedRowsTypeReference extends TypeReference>> {
}
@Override
public List> selectJoinedRows(CallingContext context, List tableUris, List columnNames, String from, String where, List order, Boolean ascending, int limit) {
SelectJoinedRowsPayload requestObj = new SelectJoinedRowsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUris(tableUris);
requestObj.setColumnNames(columnNames);
requestObj.setFrom(from);
requestObj.setWhere(where);
requestObj.setOrder(order);
requestObj.setAscending(ascending);
requestObj.setLimit(limit);
return doRequest(requestObj, "SELECTJOINEDROWS", new SelectJoinedRowsTypeReference()); }
private static final class SelectUsingSqlTypeReference extends TypeReference>> {
}
@Override
public List> selectUsingSql(CallingContext context, String schema, String rawSql) {
SelectUsingSqlPayload requestObj = new SelectUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setSchema(schema);
requestObj.setRawSql(rawSql);
return doRequest(requestObj, "SELECTUSINGSQL", new SelectUsingSqlTypeReference()); }
private static final class SelectRowsTypeReference extends TypeReference>> {
}
@Override
public List> selectRows(CallingContext context, String tableUri, List columnNames, String where, List order, Boolean ascending, int limit) {
SelectRowsPayload requestObj = new SelectRowsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumnNames(columnNames);
requestObj.setWhere(where);
requestObj.setOrder(order);
requestObj.setAscending(ascending);
requestObj.setLimit(limit);
return doRequest(requestObj, "SELECTROWS", new SelectRowsTypeReference()); }
@Override
public void insertUsingSql(CallingContext context, String schema, String rawSql) {
InsertUsingSqlPayload requestObj = new InsertUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setSchema(schema);
requestObj.setRawSql(rawSql);
doRequest(requestObj, "INSERTUSINGSQL", null); }
@Override
public void insertRow(CallingContext context, String tableUri, Map values) {
InsertRowPayload requestObj = new InsertRowPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setValues(values);
doRequest(requestObj, "INSERTROW", null); }
@Override
public void insertRows(CallingContext context, String tableUri, List> values) {
InsertRowsPayload requestObj = new InsertRowsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setValues(values);
doRequest(requestObj, "INSERTROWS", null); }
@Override
public void deleteUsingSql(CallingContext context, String schema, String rawSql) {
DeleteUsingSqlPayload requestObj = new DeleteUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setSchema(schema);
requestObj.setRawSql(rawSql);
doRequest(requestObj, "DELETEUSINGSQL", null); }
@Override
public void deleteRows(CallingContext context, String tableUri, String where) {
DeleteRowsPayload requestObj = new DeleteRowsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setWhere(where);
doRequest(requestObj, "DELETEROWS", null); }
@Override
public void updateUsingSql(CallingContext context, String schema, String rawSql) {
UpdateUsingSqlPayload requestObj = new UpdateUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setSchema(schema);
requestObj.setRawSql(rawSql);
doRequest(requestObj, "UPDATEUSINGSQL", null); }
@Override
public void updateRows(CallingContext context, String tableUri, Map values, String where) {
UpdateRowsPayload requestObj = new UpdateRowsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setValues(values);
requestObj.setWhere(where);
doRequest(requestObj, "UPDATEROWS", null); }
private static final class BeginTypeReference extends TypeReference {
}
@Override
public Boolean begin(CallingContext context) {
BeginPayload requestObj = new BeginPayload();
requestObj.setContext(context == null ? this.getContext() : context);
return doRequest(requestObj, "BEGIN", new BeginTypeReference()); }
private static final class CommitTypeReference extends TypeReference {
}
@Override
public Boolean commit(CallingContext context) {
CommitPayload requestObj = new CommitPayload();
requestObj.setContext(context == null ? this.getContext() : context);
return doRequest(requestObj, "COMMIT", new CommitTypeReference()); }
private static final class RollbackTypeReference extends TypeReference {
}
@Override
public Boolean rollback(CallingContext context) {
RollbackPayload requestObj = new RollbackPayload();
requestObj.setContext(context == null ? this.getContext() : context);
return doRequest(requestObj, "ROLLBACK", new RollbackTypeReference()); }
private static final class AbortTypeReference extends TypeReference {
}
@Override
public Boolean abort(CallingContext context, String transactionId) {
AbortPayload requestObj = new AbortPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTransactionId(transactionId);
return doRequest(requestObj, "ABORT", new AbortTypeReference()); }
private static final class GetTransactionsTypeReference extends TypeReference> {
}
@Override
public List getTransactions(CallingContext context) {
GetTransactionsPayload requestObj = new GetTransactionsPayload();
requestObj.setContext(context == null ? this.getContext() : context);
return doRequest(requestObj, "GETTRANSACTIONS", new GetTransactionsTypeReference()); }
private static final class GetDdlTypeReference extends TypeReference {
}
@Override
public String getDdl(CallingContext context, String uri, Boolean includeTableData) {
GetDdlPayload requestObj = new GetDdlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setUri(uri);
requestObj.setIncludeTableData(includeTableData);
return doRequest(requestObj, "GETDDL", new GetDdlTypeReference()); }
private static final class GetCursorUsingSqlTypeReference extends TypeReference {
}
@Override
public String getCursorUsingSql(CallingContext context, String schema, String rawSql) {
GetCursorUsingSqlPayload requestObj = new GetCursorUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setSchema(schema);
requestObj.setRawSql(rawSql);
return doRequest(requestObj, "GETCURSORUSINGSQL", new GetCursorUsingSqlTypeReference()); }
private static final class GetCursorTypeReference extends TypeReference {
}
@Override
public String getCursor(CallingContext context, String tableUri, List columnNames, String where, List order, Boolean ascending, int limit) {
GetCursorPayload requestObj = new GetCursorPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setColumnNames(columnNames);
requestObj.setWhere(where);
requestObj.setOrder(order);
requestObj.setAscending(ascending);
requestObj.setLimit(limit);
return doRequest(requestObj, "GETCURSOR", new GetCursorTypeReference()); }
private static final class GetCursorForJoinTypeReference extends TypeReference {
}
@Override
public String getCursorForJoin(CallingContext context, List tableUris, List columnNames, String from, String where, List order, Boolean ascending, int limit) {
GetCursorForJoinPayload requestObj = new GetCursorForJoinPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUris(tableUris);
requestObj.setColumnNames(columnNames);
requestObj.setFrom(from);
requestObj.setWhere(where);
requestObj.setOrder(order);
requestObj.setAscending(ascending);
requestObj.setLimit(limit);
return doRequest(requestObj, "GETCURSORFORJOIN", new GetCursorForJoinTypeReference()); }
private static final class NextTypeReference extends TypeReference>> {
}
@Override
public List> next(CallingContext context, String tableUri, String cursorId, int count) {
NextPayload requestObj = new NextPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setCursorId(cursorId);
requestObj.setCount(count);
return doRequest(requestObj, "NEXT", new NextTypeReference()); }
private static final class PreviousTypeReference extends TypeReference>> {
}
@Override
public List> previous(CallingContext context, String tableUri, String cursorId, int count) {
PreviousPayload requestObj = new PreviousPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setCursorId(cursorId);
requestObj.setCount(count);
return doRequest(requestObj, "PREVIOUS", new PreviousTypeReference()); }
@Override
public void closeCursor(CallingContext context, String tableUri, String cursorId) {
CloseCursorPayload requestObj = new CloseCursorPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
requestObj.setCursorId(cursorId);
doRequest(requestObj, "CLOSECURSOR", null); }
@Override
public void createProcedureCallUsingSql(CallingContext context, String procUri, String rawSql) {
CreateProcedureCallUsingSqlPayload requestObj = new CreateProcedureCallUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setProcUri(procUri);
requestObj.setRawSql(rawSql);
doRequest(requestObj, "CREATEPROCEDURECALLUSINGSQL", null); }
private static final class CallProcedureTypeReference extends TypeReference {
}
@Override
public StoredProcedureResponse callProcedure(CallingContext context, String procUri, StoredProcedureParams params) {
CallProcedurePayload requestObj = new CallProcedurePayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setProcUri(procUri);
requestObj.setParams(params);
return doRequest(requestObj, "CALLPROCEDURE", new CallProcedureTypeReference()); }
@Override
public void dropProcedureUsingSql(CallingContext context, String procUri, String rawSql) {
DropProcedureUsingSqlPayload requestObj = new DropProcedureUsingSqlPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setProcUri(procUri);
requestObj.setRawSql(rawSql);
doRequest(requestObj, "DROPPROCEDUREUSINGSQL", null); }
private static final class GetPrimaryKeyTypeReference extends TypeReference {
}
@Override
public String getPrimaryKey(CallingContext context, String tableUri) {
GetPrimaryKeyPayload requestObj = new GetPrimaryKeyPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
return doRequest(requestObj, "GETPRIMARYKEY", new GetPrimaryKeyTypeReference()); }
private static final class GetForeignKeysTypeReference extends TypeReference> {
}
@Override
public List getForeignKeys(CallingContext context, String tableUri) {
GetForeignKeysPayload requestObj = new GetForeignKeysPayload();
requestObj.setContext(context == null ? this.getContext() : context);
requestObj.setTableUri(tableUri);
return doRequest(requestObj, "GETFOREIGNKEYS", new GetForeignKeysTypeReference()); }
@Override
public void createStructuredRepo(String uri, String config) {
createStructuredRepo(null,uri,config); }
@Override
public void deleteStructuredRepo(String uri) {
deleteStructuredRepo(null,uri); }
@Override
public Boolean structuredRepoExists(String uri) {
return structuredRepoExists(null,uri); }
@Override
public StructuredRepoConfig getStructuredRepoConfig(String uri) {
return getStructuredRepoConfig(null,uri); }
@Override
public List getStructuredRepoConfigs() {
return getStructuredRepoConfigs(null); }
@Override
public void createTableUsingSql(String schema, String rawSql) {
createTableUsingSql(null,schema,rawSql); }
@Override
public void createTable(String tableUri, Map columns) {
createTable(null,tableUri,columns); }
@Override
public void dropTable(String tableUri) {
dropTable(null,tableUri); }
@Override
public Boolean tableExists(String tableUri) {
return tableExists(null,tableUri); }
@Override
public List getSchemas() {
return getSchemas(null); }
@Override
public List getTables(String repoUri) {
return getTables(null,repoUri); }
@Override
public Map describeTable(String tableUri) {
return describeTable(null,tableUri); }
@Override
public void addTableColumns(String tableUri, Map columns) {
addTableColumns(null,tableUri,columns); }
@Override
public void deleteTableColumns(String tableUri, List columnNames) {
deleteTableColumns(null,tableUri,columnNames); }
@Override
public void updateTableColumns(String tableUri, Map columns) {
updateTableColumns(null,tableUri,columns); }
@Override
public void renameTableColumns(String tableUri, Map columnNames) {
renameTableColumns(null,tableUri,columnNames); }
@Override
public void createIndex(String tableUri, String indexName, List columnNames) {
createIndex(null,tableUri,indexName,columnNames); }
@Override
public void dropIndex(String tableUri, String indexName) {
dropIndex(null,tableUri,indexName); }
@Override
public List getIndexes(String tableUri) {
return getIndexes(null,tableUri); }
@Override
public List> selectJoinedRows(List tableUris, List columnNames, String from, String where, List order, Boolean ascending, int limit) {
return selectJoinedRows(null,tableUris,columnNames,from,where,order,ascending,limit); }
@Override
public List> selectUsingSql(String schema, String rawSql) {
return selectUsingSql(null,schema,rawSql); }
@Override
public List> selectRows(String tableUri, List columnNames, String where, List order, Boolean ascending, int limit) {
return selectRows(null,tableUri,columnNames,where,order,ascending,limit); }
@Override
public void insertUsingSql(String schema, String rawSql) {
insertUsingSql(null,schema,rawSql); }
@Override
public void insertRow(String tableUri, Map values) {
insertRow(null,tableUri,values); }
@Override
public void insertRows(String tableUri, List> values) {
insertRows(null,tableUri,values); }
@Override
public void deleteUsingSql(String schema, String rawSql) {
deleteUsingSql(null,schema,rawSql); }
@Override
public void deleteRows(String tableUri, String where) {
deleteRows(null,tableUri,where); }
@Override
public void updateUsingSql(String schema, String rawSql) {
updateUsingSql(null,schema,rawSql); }
@Override
public void updateRows(String tableUri, Map values, String where) {
updateRows(null,tableUri,values,where); }
@Override
public Boolean begin() {
return begin(null); }
@Override
public Boolean commit() {
return commit(null); }
@Override
public Boolean rollback() {
return rollback(null); }
@Override
public Boolean abort(String transactionId) {
return abort(null,transactionId); }
@Override
public List getTransactions() {
return getTransactions(null); }
@Override
public String getDdl(String uri, Boolean includeTableData) {
return getDdl(null,uri,includeTableData); }
@Override
public String getCursorUsingSql(String schema, String rawSql) {
return getCursorUsingSql(null,schema,rawSql); }
@Override
public String getCursor(String tableUri, List columnNames, String where, List order, Boolean ascending, int limit) {
return getCursor(null,tableUri,columnNames,where,order,ascending,limit); }
@Override
public String getCursorForJoin(List tableUris, List columnNames, String from, String where, List order, Boolean ascending, int limit) {
return getCursorForJoin(null,tableUris,columnNames,from,where,order,ascending,limit); }
@Override
public List> next(String tableUri, String cursorId, int count) {
return next(null,tableUri,cursorId,count); }
@Override
public List> previous(String tableUri, String cursorId, int count) {
return previous(null,tableUri,cursorId,count); }
@Override
public void closeCursor(String tableUri, String cursorId) {
closeCursor(null,tableUri,cursorId); }
@Override
public void createProcedureCallUsingSql(String procUri, String rawSql) {
createProcedureCallUsingSql(null,procUri,rawSql); }
@Override
public StoredProcedureResponse callProcedure(String procUri, StoredProcedureParams params) {
return callProcedure(null,procUri,params); }
@Override
public void dropProcedureUsingSql(String procUri, String rawSql) {
dropProcedureUsingSql(null,procUri,rawSql); }
@Override
public String getPrimaryKey(String tableUri) {
return getPrimaryKey(null,tableUri); }
@Override
public List getForeignKeys(String tableUri) {
return getForeignKeys(null,tableUri); }
}