
org.apache.accumulo.proxy.thrift.AccumuloProxy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of accumulo-proxy Show documentation
Show all versions of accumulo-proxy Show documentation
A server for Apache Accumulo that proxies connections from any language supported by Apache Thrift.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.accumulo.proxy.thrift;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"unchecked", "serial", "rawtypes", "unused"}) public class AccumuloProxy {
public interface Iface {
public ByteBuffer login(String principal, Map loginProperties) throws AccumuloSecurityException, org.apache.thrift.TException;
public int addConstraint(ByteBuffer login, String tableName, String constraintClassName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void addSplits(ByteBuffer login, String tableName, Set splits) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void attachIterator(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes) throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException;
public void checkIteratorConflicts(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes) throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException;
public void clearLocatorCache(ByteBuffer login, String tableName) throws TableNotFoundException, org.apache.thrift.TException;
public void cloneTable(ByteBuffer login, String tableName, String newTableName, boolean flush, Map propertiesToSet, Set propertiesToExclude) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException;
public void compactTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, List iterators, boolean flush, boolean wait, CompactionStrategyConfig compactionStrategy) throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException;
public void cancelCompaction(ByteBuffer login, String tableName) throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException;
public void createTable(ByteBuffer login, String tableName, boolean versioningIter, TimeType type) throws AccumuloException, AccumuloSecurityException, TableExistsException, org.apache.thrift.TException;
public void deleteTable(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void deleteRows(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void exportTable(ByteBuffer login, String tableName, String exportDir) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void flushTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, boolean wait) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public List getDiskUsage(ByteBuffer login, Set tables) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Map> getLocalityGroups(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public IteratorSetting getIteratorSetting(ByteBuffer login, String tableName, String iteratorName, IteratorScope scope) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public ByteBuffer getMaxRow(ByteBuffer login, String tableName, Set auths, ByteBuffer startRow, boolean startInclusive, ByteBuffer endRow, boolean endInclusive) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Map getTableProperties(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void importDirectory(ByteBuffer login, String tableName, String importDir, String failureDir, boolean setTime) throws TableNotFoundException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void importTable(ByteBuffer login, String tableName, String importDir) throws TableExistsException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public List listSplits(ByteBuffer login, String tableName, int maxSplits) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Set listTables(ByteBuffer login) throws org.apache.thrift.TException;
public Map> listIterators(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Map listConstraints(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void mergeTablets(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void offlineTable(ByteBuffer login, String tableName, boolean wait) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void onlineTable(ByteBuffer login, String tableName, boolean wait) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void removeConstraint(ByteBuffer login, String tableName, int constraint) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void removeIterator(ByteBuffer login, String tableName, String iterName, Set scopes) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void removeTableProperty(ByteBuffer login, String tableName, String property) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void renameTable(ByteBuffer login, String oldTableName, String newTableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException;
public void setLocalityGroups(ByteBuffer login, String tableName, Map> groups) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void setTableProperty(ByteBuffer login, String tableName, String property, String value) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Set splitRangeByTablets(ByteBuffer login, String tableName, Range range, int maxSplits) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public boolean tableExists(ByteBuffer login, String tableName) throws org.apache.thrift.TException;
public Map tableIdMap(ByteBuffer login) throws org.apache.thrift.TException;
public boolean testTableClassLoad(ByteBuffer login, String tableName, String className, String asTypeName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void pingTabletServer(ByteBuffer login, String tserver) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public List getActiveScans(ByteBuffer login, String tserver) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public List getActiveCompactions(ByteBuffer login, String tserver) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public Map getSiteConfiguration(ByteBuffer login) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public Map getSystemConfiguration(ByteBuffer login) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public List getTabletServers(ByteBuffer login) throws org.apache.thrift.TException;
public void removeProperty(ByteBuffer login, String property) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void setProperty(ByteBuffer login, String property, String value) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public boolean testClassLoad(ByteBuffer login, String className, String asTypeName) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public boolean authenticateUser(ByteBuffer login, String user, Map properties) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void changeUserAuthorizations(ByteBuffer login, String user, Set authorizations) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void changeLocalUserPassword(ByteBuffer login, String user, ByteBuffer password) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void createLocalUser(ByteBuffer login, String user, ByteBuffer password) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void dropLocalUser(ByteBuffer login, String user) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public List getUserAuthorizations(ByteBuffer login, String user) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void grantSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void grantTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public boolean hasSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public boolean hasTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Set listLocalUsers(ByteBuffer login) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void revokeSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void revokeTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public String createBatchScanner(ByteBuffer login, String tableName, BatchScanOptions options) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public String createScanner(ByteBuffer login, String tableName, ScanOptions options) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public boolean hasNext(String scanner) throws UnknownScanner, org.apache.thrift.TException;
public KeyValueAndPeek nextEntry(String scanner) throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException;
public ScanResult nextK(String scanner, int k) throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException;
public void closeScanner(String scanner) throws UnknownScanner, org.apache.thrift.TException;
public void updateAndFlush(ByteBuffer login, String tableName, Map> cells) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, MutationsRejectedException, org.apache.thrift.TException;
public String createWriter(ByteBuffer login, String tableName, WriterOptions opts) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public void update(String writer, Map> cells) throws org.apache.thrift.TException;
public void flush(String writer) throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException;
public void closeWriter(String writer) throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException;
public ConditionalStatus updateRowConditionally(ByteBuffer login, String tableName, ByteBuffer row, ConditionalUpdates updates) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public String createConditionalWriter(ByteBuffer login, String tableName, ConditionalWriterOptions options) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException;
public Map updateRowsConditionally(String conditionalWriter, Map updates) throws UnknownWriter, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException;
public void closeConditionalWriter(String conditionalWriter) throws org.apache.thrift.TException;
public Range getRowRange(ByteBuffer row) throws org.apache.thrift.TException;
public Key getFollowing(Key key, PartialKey part) throws org.apache.thrift.TException;
}
public interface AsyncIface {
public void login(String principal, Map loginProperties, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void addConstraint(ByteBuffer login, String tableName, String constraintClassName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void addSplits(ByteBuffer login, String tableName, Set splits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void attachIterator(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void checkIteratorConflicts(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void clearLocatorCache(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cloneTable(ByteBuffer login, String tableName, String newTableName, boolean flush, Map propertiesToSet, Set propertiesToExclude, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void compactTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, List iterators, boolean flush, boolean wait, CompactionStrategyConfig compactionStrategy, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void cancelCompaction(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createTable(ByteBuffer login, String tableName, boolean versioningIter, TimeType type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteTable(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteRows(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void exportTable(ByteBuffer login, String tableName, String exportDir, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void flushTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getDiskUsage(ByteBuffer login, Set tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getLocalityGroups(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getIteratorSetting(ByteBuffer login, String tableName, String iteratorName, IteratorScope scope, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getMaxRow(ByteBuffer login, String tableName, Set auths, ByteBuffer startRow, boolean startInclusive, ByteBuffer endRow, boolean endInclusive, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getTableProperties(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void importDirectory(ByteBuffer login, String tableName, String importDir, String failureDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void importTable(ByteBuffer login, String tableName, String importDir, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void listSplits(ByteBuffer login, String tableName, int maxSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void listTables(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void listIterators(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void listConstraints(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void mergeTablets(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void offlineTable(ByteBuffer login, String tableName, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void onlineTable(ByteBuffer login, String tableName, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void removeConstraint(ByteBuffer login, String tableName, int constraint, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void removeIterator(ByteBuffer login, String tableName, String iterName, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void removeTableProperty(ByteBuffer login, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void renameTable(ByteBuffer login, String oldTableName, String newTableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setLocalityGroups(ByteBuffer login, String tableName, Map> groups, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setTableProperty(ByteBuffer login, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void splitRangeByTablets(ByteBuffer login, String tableName, Range range, int maxSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void tableExists(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void tableIdMap(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testTableClassLoad(ByteBuffer login, String tableName, String className, String asTypeName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void pingTabletServer(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getActiveScans(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getActiveCompactions(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getSiteConfiguration(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getSystemConfiguration(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getTabletServers(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void removeProperty(ByteBuffer login, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void setProperty(ByteBuffer login, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void testClassLoad(ByteBuffer login, String className, String asTypeName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void authenticateUser(ByteBuffer login, String user, Map properties, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void changeUserAuthorizations(ByteBuffer login, String user, Set authorizations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void changeLocalUserPassword(ByteBuffer login, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createLocalUser(ByteBuffer login, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void dropLocalUser(ByteBuffer login, String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getUserAuthorizations(ByteBuffer login, String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void grantSystemPermission(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void grantTablePermission(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void hasSystemPermission(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void hasTablePermission(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void listLocalUsers(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void revokeSystemPermission(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void revokeTablePermission(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createBatchScanner(ByteBuffer login, String tableName, BatchScanOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createScanner(ByteBuffer login, String tableName, ScanOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void hasNext(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void nextEntry(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void nextK(String scanner, int k, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeScanner(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateAndFlush(ByteBuffer login, String tableName, Map> cells, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createWriter(ByteBuffer login, String tableName, WriterOptions opts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void update(String writer, Map> cells, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void flush(String writer, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeWriter(String writer, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateRowConditionally(ByteBuffer login, String tableName, ByteBuffer row, ConditionalUpdates updates, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void createConditionalWriter(ByteBuffer login, String tableName, ConditionalWriterOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void updateRowsConditionally(String conditionalWriter, Map updates, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void closeConditionalWriter(String conditionalWriter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getRowRange(ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getFollowing(Key key, PartialKey part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
}
public static class Client extends org.apache.thrift.TServiceClient implements Iface {
public static class Factory implements org.apache.thrift.TServiceClientFactory {
public Factory() {}
public Client getClient(org.apache.thrift.protocol.TProtocol prot) {
return new Client(prot);
}
public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
return new Client(iprot, oprot);
}
}
public Client(org.apache.thrift.protocol.TProtocol prot)
{
super(prot, prot);
}
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) {
super(iprot, oprot);
}
public ByteBuffer login(String principal, Map loginProperties) throws AccumuloSecurityException, org.apache.thrift.TException
{
send_login(principal, loginProperties);
return recv_login();
}
public void send_login(String principal, Map loginProperties) throws org.apache.thrift.TException
{
login_args args = new login_args();
args.setPrincipal(principal);
args.setLoginProperties(loginProperties);
sendBase("login", args);
}
public ByteBuffer recv_login() throws AccumuloSecurityException, org.apache.thrift.TException
{
login_result result = new login_result();
receiveBase(result, "login");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "login failed: unknown result");
}
public int addConstraint(ByteBuffer login, String tableName, String constraintClassName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_addConstraint(login, tableName, constraintClassName);
return recv_addConstraint();
}
public void send_addConstraint(ByteBuffer login, String tableName, String constraintClassName) throws org.apache.thrift.TException
{
addConstraint_args args = new addConstraint_args();
args.setLogin(login);
args.setTableName(tableName);
args.setConstraintClassName(constraintClassName);
sendBase("addConstraint", args);
}
public int recv_addConstraint() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
addConstraint_result result = new addConstraint_result();
receiveBase(result, "addConstraint");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addConstraint failed: unknown result");
}
public void addSplits(ByteBuffer login, String tableName, Set splits) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_addSplits(login, tableName, splits);
recv_addSplits();
}
public void send_addSplits(ByteBuffer login, String tableName, Set splits) throws org.apache.thrift.TException
{
addSplits_args args = new addSplits_args();
args.setLogin(login);
args.setTableName(tableName);
args.setSplits(splits);
sendBase("addSplits", args);
}
public void recv_addSplits() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
addSplits_result result = new addSplits_result();
receiveBase(result, "addSplits");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void attachIterator(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes) throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException
{
send_attachIterator(login, tableName, setting, scopes);
recv_attachIterator();
}
public void send_attachIterator(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes) throws org.apache.thrift.TException
{
attachIterator_args args = new attachIterator_args();
args.setLogin(login);
args.setTableName(tableName);
args.setSetting(setting);
args.setScopes(scopes);
sendBase("attachIterator", args);
}
public void recv_attachIterator() throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException
{
attachIterator_result result = new attachIterator_result();
receiveBase(result, "attachIterator");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void checkIteratorConflicts(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes) throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException
{
send_checkIteratorConflicts(login, tableName, setting, scopes);
recv_checkIteratorConflicts();
}
public void send_checkIteratorConflicts(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes) throws org.apache.thrift.TException
{
checkIteratorConflicts_args args = new checkIteratorConflicts_args();
args.setLogin(login);
args.setTableName(tableName);
args.setSetting(setting);
args.setScopes(scopes);
sendBase("checkIteratorConflicts", args);
}
public void recv_checkIteratorConflicts() throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException
{
checkIteratorConflicts_result result = new checkIteratorConflicts_result();
receiveBase(result, "checkIteratorConflicts");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void clearLocatorCache(ByteBuffer login, String tableName) throws TableNotFoundException, org.apache.thrift.TException
{
send_clearLocatorCache(login, tableName);
recv_clearLocatorCache();
}
public void send_clearLocatorCache(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
clearLocatorCache_args args = new clearLocatorCache_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("clearLocatorCache", args);
}
public void recv_clearLocatorCache() throws TableNotFoundException, org.apache.thrift.TException
{
clearLocatorCache_result result = new clearLocatorCache_result();
receiveBase(result, "clearLocatorCache");
if (result.ouch1 != null) {
throw result.ouch1;
}
return;
}
public void cloneTable(ByteBuffer login, String tableName, String newTableName, boolean flush, Map propertiesToSet, Set propertiesToExclude) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException
{
send_cloneTable(login, tableName, newTableName, flush, propertiesToSet, propertiesToExclude);
recv_cloneTable();
}
public void send_cloneTable(ByteBuffer login, String tableName, String newTableName, boolean flush, Map propertiesToSet, Set propertiesToExclude) throws org.apache.thrift.TException
{
cloneTable_args args = new cloneTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setNewTableName(newTableName);
args.setFlush(flush);
args.setPropertiesToSet(propertiesToSet);
args.setPropertiesToExclude(propertiesToExclude);
sendBase("cloneTable", args);
}
public void recv_cloneTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException
{
cloneTable_result result = new cloneTable_result();
receiveBase(result, "cloneTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
if (result.ouch4 != null) {
throw result.ouch4;
}
return;
}
public void compactTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, List iterators, boolean flush, boolean wait, CompactionStrategyConfig compactionStrategy) throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException
{
send_compactTable(login, tableName, startRow, endRow, iterators, flush, wait, compactionStrategy);
recv_compactTable();
}
public void send_compactTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, List iterators, boolean flush, boolean wait, CompactionStrategyConfig compactionStrategy) throws org.apache.thrift.TException
{
compactTable_args args = new compactTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
args.setIterators(iterators);
args.setFlush(flush);
args.setWait(wait);
args.setCompactionStrategy(compactionStrategy);
sendBase("compactTable", args);
}
public void recv_compactTable() throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException
{
compactTable_result result = new compactTable_result();
receiveBase(result, "compactTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void cancelCompaction(ByteBuffer login, String tableName) throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException
{
send_cancelCompaction(login, tableName);
recv_cancelCompaction();
}
public void send_cancelCompaction(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
cancelCompaction_args args = new cancelCompaction_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("cancelCompaction", args);
}
public void recv_cancelCompaction() throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException
{
cancelCompaction_result result = new cancelCompaction_result();
receiveBase(result, "cancelCompaction");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void createTable(ByteBuffer login, String tableName, boolean versioningIter, TimeType type) throws AccumuloException, AccumuloSecurityException, TableExistsException, org.apache.thrift.TException
{
send_createTable(login, tableName, versioningIter, type);
recv_createTable();
}
public void send_createTable(ByteBuffer login, String tableName, boolean versioningIter, TimeType type) throws org.apache.thrift.TException
{
createTable_args args = new createTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setVersioningIter(versioningIter);
args.setType(type);
sendBase("createTable", args);
}
public void recv_createTable() throws AccumuloException, AccumuloSecurityException, TableExistsException, org.apache.thrift.TException
{
createTable_result result = new createTable_result();
receiveBase(result, "createTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void deleteTable(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_deleteTable(login, tableName);
recv_deleteTable();
}
public void send_deleteTable(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
deleteTable_args args = new deleteTable_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("deleteTable", args);
}
public void recv_deleteTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
deleteTable_result result = new deleteTable_result();
receiveBase(result, "deleteTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void deleteRows(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_deleteRows(login, tableName, startRow, endRow);
recv_deleteRows();
}
public void send_deleteRows(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
{
deleteRows_args args = new deleteRows_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
sendBase("deleteRows", args);
}
public void recv_deleteRows() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
deleteRows_result result = new deleteRows_result();
receiveBase(result, "deleteRows");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void exportTable(ByteBuffer login, String tableName, String exportDir) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_exportTable(login, tableName, exportDir);
recv_exportTable();
}
public void send_exportTable(ByteBuffer login, String tableName, String exportDir) throws org.apache.thrift.TException
{
exportTable_args args = new exportTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setExportDir(exportDir);
sendBase("exportTable", args);
}
public void recv_exportTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
exportTable_result result = new exportTable_result();
receiveBase(result, "exportTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void flushTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, boolean wait) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_flushTable(login, tableName, startRow, endRow, wait);
recv_flushTable();
}
public void send_flushTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, boolean wait) throws org.apache.thrift.TException
{
flushTable_args args = new flushTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
args.setWait(wait);
sendBase("flushTable", args);
}
public void recv_flushTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
flushTable_result result = new flushTable_result();
receiveBase(result, "flushTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public List getDiskUsage(ByteBuffer login, Set tables) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_getDiskUsage(login, tables);
return recv_getDiskUsage();
}
public void send_getDiskUsage(ByteBuffer login, Set tables) throws org.apache.thrift.TException
{
getDiskUsage_args args = new getDiskUsage_args();
args.setLogin(login);
args.setTables(tables);
sendBase("getDiskUsage", args);
}
public List recv_getDiskUsage() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
getDiskUsage_result result = new getDiskUsage_result();
receiveBase(result, "getDiskUsage");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getDiskUsage failed: unknown result");
}
public Map> getLocalityGroups(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_getLocalityGroups(login, tableName);
return recv_getLocalityGroups();
}
public void send_getLocalityGroups(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
getLocalityGroups_args args = new getLocalityGroups_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("getLocalityGroups", args);
}
public Map> recv_getLocalityGroups() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
getLocalityGroups_result result = new getLocalityGroups_result();
receiveBase(result, "getLocalityGroups");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLocalityGroups failed: unknown result");
}
public IteratorSetting getIteratorSetting(ByteBuffer login, String tableName, String iteratorName, IteratorScope scope) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_getIteratorSetting(login, tableName, iteratorName, scope);
return recv_getIteratorSetting();
}
public void send_getIteratorSetting(ByteBuffer login, String tableName, String iteratorName, IteratorScope scope) throws org.apache.thrift.TException
{
getIteratorSetting_args args = new getIteratorSetting_args();
args.setLogin(login);
args.setTableName(tableName);
args.setIteratorName(iteratorName);
args.setScope(scope);
sendBase("getIteratorSetting", args);
}
public IteratorSetting recv_getIteratorSetting() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
getIteratorSetting_result result = new getIteratorSetting_result();
receiveBase(result, "getIteratorSetting");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getIteratorSetting failed: unknown result");
}
public ByteBuffer getMaxRow(ByteBuffer login, String tableName, Set auths, ByteBuffer startRow, boolean startInclusive, ByteBuffer endRow, boolean endInclusive) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_getMaxRow(login, tableName, auths, startRow, startInclusive, endRow, endInclusive);
return recv_getMaxRow();
}
public void send_getMaxRow(ByteBuffer login, String tableName, Set auths, ByteBuffer startRow, boolean startInclusive, ByteBuffer endRow, boolean endInclusive) throws org.apache.thrift.TException
{
getMaxRow_args args = new getMaxRow_args();
args.setLogin(login);
args.setTableName(tableName);
args.setAuths(auths);
args.setStartRow(startRow);
args.setStartInclusive(startInclusive);
args.setEndRow(endRow);
args.setEndInclusive(endInclusive);
sendBase("getMaxRow", args);
}
public ByteBuffer recv_getMaxRow() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
getMaxRow_result result = new getMaxRow_result();
receiveBase(result, "getMaxRow");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMaxRow failed: unknown result");
}
public Map getTableProperties(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_getTableProperties(login, tableName);
return recv_getTableProperties();
}
public void send_getTableProperties(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
getTableProperties_args args = new getTableProperties_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("getTableProperties", args);
}
public Map recv_getTableProperties() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
getTableProperties_result result = new getTableProperties_result();
receiveBase(result, "getTableProperties");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTableProperties failed: unknown result");
}
public void importDirectory(ByteBuffer login, String tableName, String importDir, String failureDir, boolean setTime) throws TableNotFoundException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_importDirectory(login, tableName, importDir, failureDir, setTime);
recv_importDirectory();
}
public void send_importDirectory(ByteBuffer login, String tableName, String importDir, String failureDir, boolean setTime) throws org.apache.thrift.TException
{
importDirectory_args args = new importDirectory_args();
args.setLogin(login);
args.setTableName(tableName);
args.setImportDir(importDir);
args.setFailureDir(failureDir);
args.setSetTime(setTime);
sendBase("importDirectory", args);
}
public void recv_importDirectory() throws TableNotFoundException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
importDirectory_result result = new importDirectory_result();
receiveBase(result, "importDirectory");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
if (result.ouch4 != null) {
throw result.ouch4;
}
return;
}
public void importTable(ByteBuffer login, String tableName, String importDir) throws TableExistsException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_importTable(login, tableName, importDir);
recv_importTable();
}
public void send_importTable(ByteBuffer login, String tableName, String importDir) throws org.apache.thrift.TException
{
importTable_args args = new importTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setImportDir(importDir);
sendBase("importTable", args);
}
public void recv_importTable() throws TableExistsException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
importTable_result result = new importTable_result();
receiveBase(result, "importTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public List listSplits(ByteBuffer login, String tableName, int maxSplits) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_listSplits(login, tableName, maxSplits);
return recv_listSplits();
}
public void send_listSplits(ByteBuffer login, String tableName, int maxSplits) throws org.apache.thrift.TException
{
listSplits_args args = new listSplits_args();
args.setLogin(login);
args.setTableName(tableName);
args.setMaxSplits(maxSplits);
sendBase("listSplits", args);
}
public List recv_listSplits() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
listSplits_result result = new listSplits_result();
receiveBase(result, "listSplits");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listSplits failed: unknown result");
}
public Set listTables(ByteBuffer login) throws org.apache.thrift.TException
{
send_listTables(login);
return recv_listTables();
}
public void send_listTables(ByteBuffer login) throws org.apache.thrift.TException
{
listTables_args args = new listTables_args();
args.setLogin(login);
sendBase("listTables", args);
}
public Set recv_listTables() throws org.apache.thrift.TException
{
listTables_result result = new listTables_result();
receiveBase(result, "listTables");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listTables failed: unknown result");
}
public Map> listIterators(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_listIterators(login, tableName);
return recv_listIterators();
}
public void send_listIterators(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
listIterators_args args = new listIterators_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("listIterators", args);
}
public Map> recv_listIterators() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
listIterators_result result = new listIterators_result();
receiveBase(result, "listIterators");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listIterators failed: unknown result");
}
public Map listConstraints(ByteBuffer login, String tableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_listConstraints(login, tableName);
return recv_listConstraints();
}
public void send_listConstraints(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
listConstraints_args args = new listConstraints_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("listConstraints", args);
}
public Map recv_listConstraints() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
listConstraints_result result = new listConstraints_result();
receiveBase(result, "listConstraints");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listConstraints failed: unknown result");
}
public void mergeTablets(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_mergeTablets(login, tableName, startRow, endRow);
recv_mergeTablets();
}
public void send_mergeTablets(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow) throws org.apache.thrift.TException
{
mergeTablets_args args = new mergeTablets_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
sendBase("mergeTablets", args);
}
public void recv_mergeTablets() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
mergeTablets_result result = new mergeTablets_result();
receiveBase(result, "mergeTablets");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void offlineTable(ByteBuffer login, String tableName, boolean wait) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_offlineTable(login, tableName, wait);
recv_offlineTable();
}
public void send_offlineTable(ByteBuffer login, String tableName, boolean wait) throws org.apache.thrift.TException
{
offlineTable_args args = new offlineTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setWait(wait);
sendBase("offlineTable", args);
}
public void recv_offlineTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
offlineTable_result result = new offlineTable_result();
receiveBase(result, "offlineTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void onlineTable(ByteBuffer login, String tableName, boolean wait) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_onlineTable(login, tableName, wait);
recv_onlineTable();
}
public void send_onlineTable(ByteBuffer login, String tableName, boolean wait) throws org.apache.thrift.TException
{
onlineTable_args args = new onlineTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setWait(wait);
sendBase("onlineTable", args);
}
public void recv_onlineTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
onlineTable_result result = new onlineTable_result();
receiveBase(result, "onlineTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void removeConstraint(ByteBuffer login, String tableName, int constraint) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_removeConstraint(login, tableName, constraint);
recv_removeConstraint();
}
public void send_removeConstraint(ByteBuffer login, String tableName, int constraint) throws org.apache.thrift.TException
{
removeConstraint_args args = new removeConstraint_args();
args.setLogin(login);
args.setTableName(tableName);
args.setConstraint(constraint);
sendBase("removeConstraint", args);
}
public void recv_removeConstraint() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
removeConstraint_result result = new removeConstraint_result();
receiveBase(result, "removeConstraint");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void removeIterator(ByteBuffer login, String tableName, String iterName, Set scopes) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_removeIterator(login, tableName, iterName, scopes);
recv_removeIterator();
}
public void send_removeIterator(ByteBuffer login, String tableName, String iterName, Set scopes) throws org.apache.thrift.TException
{
removeIterator_args args = new removeIterator_args();
args.setLogin(login);
args.setTableName(tableName);
args.setIterName(iterName);
args.setScopes(scopes);
sendBase("removeIterator", args);
}
public void recv_removeIterator() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
removeIterator_result result = new removeIterator_result();
receiveBase(result, "removeIterator");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void removeTableProperty(ByteBuffer login, String tableName, String property) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_removeTableProperty(login, tableName, property);
recv_removeTableProperty();
}
public void send_removeTableProperty(ByteBuffer login, String tableName, String property) throws org.apache.thrift.TException
{
removeTableProperty_args args = new removeTableProperty_args();
args.setLogin(login);
args.setTableName(tableName);
args.setProperty(property);
sendBase("removeTableProperty", args);
}
public void recv_removeTableProperty() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
removeTableProperty_result result = new removeTableProperty_result();
receiveBase(result, "removeTableProperty");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void renameTable(ByteBuffer login, String oldTableName, String newTableName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException
{
send_renameTable(login, oldTableName, newTableName);
recv_renameTable();
}
public void send_renameTable(ByteBuffer login, String oldTableName, String newTableName) throws org.apache.thrift.TException
{
renameTable_args args = new renameTable_args();
args.setLogin(login);
args.setOldTableName(oldTableName);
args.setNewTableName(newTableName);
sendBase("renameTable", args);
}
public void recv_renameTable() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException
{
renameTable_result result = new renameTable_result();
receiveBase(result, "renameTable");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
if (result.ouch4 != null) {
throw result.ouch4;
}
return;
}
public void setLocalityGroups(ByteBuffer login, String tableName, Map> groups) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_setLocalityGroups(login, tableName, groups);
recv_setLocalityGroups();
}
public void send_setLocalityGroups(ByteBuffer login, String tableName, Map> groups) throws org.apache.thrift.TException
{
setLocalityGroups_args args = new setLocalityGroups_args();
args.setLogin(login);
args.setTableName(tableName);
args.setGroups(groups);
sendBase("setLocalityGroups", args);
}
public void recv_setLocalityGroups() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
setLocalityGroups_result result = new setLocalityGroups_result();
receiveBase(result, "setLocalityGroups");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public void setTableProperty(ByteBuffer login, String tableName, String property, String value) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_setTableProperty(login, tableName, property, value);
recv_setTableProperty();
}
public void send_setTableProperty(ByteBuffer login, String tableName, String property, String value) throws org.apache.thrift.TException
{
setTableProperty_args args = new setTableProperty_args();
args.setLogin(login);
args.setTableName(tableName);
args.setProperty(property);
args.setValue(value);
sendBase("setTableProperty", args);
}
public void recv_setTableProperty() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
setTableProperty_result result = new setTableProperty_result();
receiveBase(result, "setTableProperty");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public Set splitRangeByTablets(ByteBuffer login, String tableName, Range range, int maxSplits) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_splitRangeByTablets(login, tableName, range, maxSplits);
return recv_splitRangeByTablets();
}
public void send_splitRangeByTablets(ByteBuffer login, String tableName, Range range, int maxSplits) throws org.apache.thrift.TException
{
splitRangeByTablets_args args = new splitRangeByTablets_args();
args.setLogin(login);
args.setTableName(tableName);
args.setRange(range);
args.setMaxSplits(maxSplits);
sendBase("splitRangeByTablets", args);
}
public Set recv_splitRangeByTablets() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
splitRangeByTablets_result result = new splitRangeByTablets_result();
receiveBase(result, "splitRangeByTablets");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "splitRangeByTablets failed: unknown result");
}
public boolean tableExists(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
send_tableExists(login, tableName);
return recv_tableExists();
}
public void send_tableExists(ByteBuffer login, String tableName) throws org.apache.thrift.TException
{
tableExists_args args = new tableExists_args();
args.setLogin(login);
args.setTableName(tableName);
sendBase("tableExists", args);
}
public boolean recv_tableExists() throws org.apache.thrift.TException
{
tableExists_result result = new tableExists_result();
receiveBase(result, "tableExists");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "tableExists failed: unknown result");
}
public Map tableIdMap(ByteBuffer login) throws org.apache.thrift.TException
{
send_tableIdMap(login);
return recv_tableIdMap();
}
public void send_tableIdMap(ByteBuffer login) throws org.apache.thrift.TException
{
tableIdMap_args args = new tableIdMap_args();
args.setLogin(login);
sendBase("tableIdMap", args);
}
public Map recv_tableIdMap() throws org.apache.thrift.TException
{
tableIdMap_result result = new tableIdMap_result();
receiveBase(result, "tableIdMap");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "tableIdMap failed: unknown result");
}
public boolean testTableClassLoad(ByteBuffer login, String tableName, String className, String asTypeName) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_testTableClassLoad(login, tableName, className, asTypeName);
return recv_testTableClassLoad();
}
public void send_testTableClassLoad(ByteBuffer login, String tableName, String className, String asTypeName) throws org.apache.thrift.TException
{
testTableClassLoad_args args = new testTableClassLoad_args();
args.setLogin(login);
args.setTableName(tableName);
args.setClassName(className);
args.setAsTypeName(asTypeName);
sendBase("testTableClassLoad", args);
}
public boolean recv_testTableClassLoad() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
testTableClassLoad_result result = new testTableClassLoad_result();
receiveBase(result, "testTableClassLoad");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testTableClassLoad failed: unknown result");
}
public void pingTabletServer(ByteBuffer login, String tserver) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_pingTabletServer(login, tserver);
recv_pingTabletServer();
}
public void send_pingTabletServer(ByteBuffer login, String tserver) throws org.apache.thrift.TException
{
pingTabletServer_args args = new pingTabletServer_args();
args.setLogin(login);
args.setTserver(tserver);
sendBase("pingTabletServer", args);
}
public void recv_pingTabletServer() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
pingTabletServer_result result = new pingTabletServer_result();
receiveBase(result, "pingTabletServer");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public List getActiveScans(ByteBuffer login, String tserver) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_getActiveScans(login, tserver);
return recv_getActiveScans();
}
public void send_getActiveScans(ByteBuffer login, String tserver) throws org.apache.thrift.TException
{
getActiveScans_args args = new getActiveScans_args();
args.setLogin(login);
args.setTserver(tserver);
sendBase("getActiveScans", args);
}
public List recv_getActiveScans() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
getActiveScans_result result = new getActiveScans_result();
receiveBase(result, "getActiveScans");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveScans failed: unknown result");
}
public List getActiveCompactions(ByteBuffer login, String tserver) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_getActiveCompactions(login, tserver);
return recv_getActiveCompactions();
}
public void send_getActiveCompactions(ByteBuffer login, String tserver) throws org.apache.thrift.TException
{
getActiveCompactions_args args = new getActiveCompactions_args();
args.setLogin(login);
args.setTserver(tserver);
sendBase("getActiveCompactions", args);
}
public List recv_getActiveCompactions() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
getActiveCompactions_result result = new getActiveCompactions_result();
receiveBase(result, "getActiveCompactions");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getActiveCompactions failed: unknown result");
}
public Map getSiteConfiguration(ByteBuffer login) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_getSiteConfiguration(login);
return recv_getSiteConfiguration();
}
public void send_getSiteConfiguration(ByteBuffer login) throws org.apache.thrift.TException
{
getSiteConfiguration_args args = new getSiteConfiguration_args();
args.setLogin(login);
sendBase("getSiteConfiguration", args);
}
public Map recv_getSiteConfiguration() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
getSiteConfiguration_result result = new getSiteConfiguration_result();
receiveBase(result, "getSiteConfiguration");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSiteConfiguration failed: unknown result");
}
public Map getSystemConfiguration(ByteBuffer login) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_getSystemConfiguration(login);
return recv_getSystemConfiguration();
}
public void send_getSystemConfiguration(ByteBuffer login) throws org.apache.thrift.TException
{
getSystemConfiguration_args args = new getSystemConfiguration_args();
args.setLogin(login);
sendBase("getSystemConfiguration", args);
}
public Map recv_getSystemConfiguration() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
getSystemConfiguration_result result = new getSystemConfiguration_result();
receiveBase(result, "getSystemConfiguration");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSystemConfiguration failed: unknown result");
}
public List getTabletServers(ByteBuffer login) throws org.apache.thrift.TException
{
send_getTabletServers(login);
return recv_getTabletServers();
}
public void send_getTabletServers(ByteBuffer login) throws org.apache.thrift.TException
{
getTabletServers_args args = new getTabletServers_args();
args.setLogin(login);
sendBase("getTabletServers", args);
}
public List recv_getTabletServers() throws org.apache.thrift.TException
{
getTabletServers_result result = new getTabletServers_result();
receiveBase(result, "getTabletServers");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTabletServers failed: unknown result");
}
public void removeProperty(ByteBuffer login, String property) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_removeProperty(login, property);
recv_removeProperty();
}
public void send_removeProperty(ByteBuffer login, String property) throws org.apache.thrift.TException
{
removeProperty_args args = new removeProperty_args();
args.setLogin(login);
args.setProperty(property);
sendBase("removeProperty", args);
}
public void recv_removeProperty() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
removeProperty_result result = new removeProperty_result();
receiveBase(result, "removeProperty");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void setProperty(ByteBuffer login, String property, String value) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_setProperty(login, property, value);
recv_setProperty();
}
public void send_setProperty(ByteBuffer login, String property, String value) throws org.apache.thrift.TException
{
setProperty_args args = new setProperty_args();
args.setLogin(login);
args.setProperty(property);
args.setValue(value);
sendBase("setProperty", args);
}
public void recv_setProperty() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
setProperty_result result = new setProperty_result();
receiveBase(result, "setProperty");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public boolean testClassLoad(ByteBuffer login, String className, String asTypeName) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_testClassLoad(login, className, asTypeName);
return recv_testClassLoad();
}
public void send_testClassLoad(ByteBuffer login, String className, String asTypeName) throws org.apache.thrift.TException
{
testClassLoad_args args = new testClassLoad_args();
args.setLogin(login);
args.setClassName(className);
args.setAsTypeName(asTypeName);
sendBase("testClassLoad", args);
}
public boolean recv_testClassLoad() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
testClassLoad_result result = new testClassLoad_result();
receiveBase(result, "testClassLoad");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "testClassLoad failed: unknown result");
}
public boolean authenticateUser(ByteBuffer login, String user, Map properties) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_authenticateUser(login, user, properties);
return recv_authenticateUser();
}
public void send_authenticateUser(ByteBuffer login, String user, Map properties) throws org.apache.thrift.TException
{
authenticateUser_args args = new authenticateUser_args();
args.setLogin(login);
args.setUser(user);
args.setProperties(properties);
sendBase("authenticateUser", args);
}
public boolean recv_authenticateUser() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
authenticateUser_result result = new authenticateUser_result();
receiveBase(result, "authenticateUser");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "authenticateUser failed: unknown result");
}
public void changeUserAuthorizations(ByteBuffer login, String user, Set authorizations) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_changeUserAuthorizations(login, user, authorizations);
recv_changeUserAuthorizations();
}
public void send_changeUserAuthorizations(ByteBuffer login, String user, Set authorizations) throws org.apache.thrift.TException
{
changeUserAuthorizations_args args = new changeUserAuthorizations_args();
args.setLogin(login);
args.setUser(user);
args.setAuthorizations(authorizations);
sendBase("changeUserAuthorizations", args);
}
public void recv_changeUserAuthorizations() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
changeUserAuthorizations_result result = new changeUserAuthorizations_result();
receiveBase(result, "changeUserAuthorizations");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void changeLocalUserPassword(ByteBuffer login, String user, ByteBuffer password) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_changeLocalUserPassword(login, user, password);
recv_changeLocalUserPassword();
}
public void send_changeLocalUserPassword(ByteBuffer login, String user, ByteBuffer password) throws org.apache.thrift.TException
{
changeLocalUserPassword_args args = new changeLocalUserPassword_args();
args.setLogin(login);
args.setUser(user);
args.setPassword(password);
sendBase("changeLocalUserPassword", args);
}
public void recv_changeLocalUserPassword() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
changeLocalUserPassword_result result = new changeLocalUserPassword_result();
receiveBase(result, "changeLocalUserPassword");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void createLocalUser(ByteBuffer login, String user, ByteBuffer password) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_createLocalUser(login, user, password);
recv_createLocalUser();
}
public void send_createLocalUser(ByteBuffer login, String user, ByteBuffer password) throws org.apache.thrift.TException
{
createLocalUser_args args = new createLocalUser_args();
args.setLogin(login);
args.setUser(user);
args.setPassword(password);
sendBase("createLocalUser", args);
}
public void recv_createLocalUser() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
createLocalUser_result result = new createLocalUser_result();
receiveBase(result, "createLocalUser");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void dropLocalUser(ByteBuffer login, String user) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_dropLocalUser(login, user);
recv_dropLocalUser();
}
public void send_dropLocalUser(ByteBuffer login, String user) throws org.apache.thrift.TException
{
dropLocalUser_args args = new dropLocalUser_args();
args.setLogin(login);
args.setUser(user);
sendBase("dropLocalUser", args);
}
public void recv_dropLocalUser() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
dropLocalUser_result result = new dropLocalUser_result();
receiveBase(result, "dropLocalUser");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public List getUserAuthorizations(ByteBuffer login, String user) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_getUserAuthorizations(login, user);
return recv_getUserAuthorizations();
}
public void send_getUserAuthorizations(ByteBuffer login, String user) throws org.apache.thrift.TException
{
getUserAuthorizations_args args = new getUserAuthorizations_args();
args.setLogin(login);
args.setUser(user);
sendBase("getUserAuthorizations", args);
}
public List recv_getUserAuthorizations() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
getUserAuthorizations_result result = new getUserAuthorizations_result();
receiveBase(result, "getUserAuthorizations");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserAuthorizations failed: unknown result");
}
public void grantSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_grantSystemPermission(login, user, perm);
recv_grantSystemPermission();
}
public void send_grantSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws org.apache.thrift.TException
{
grantSystemPermission_args args = new grantSystemPermission_args();
args.setLogin(login);
args.setUser(user);
args.setPerm(perm);
sendBase("grantSystemPermission", args);
}
public void recv_grantSystemPermission() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
grantSystemPermission_result result = new grantSystemPermission_result();
receiveBase(result, "grantSystemPermission");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void grantTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_grantTablePermission(login, user, table, perm);
recv_grantTablePermission();
}
public void send_grantTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws org.apache.thrift.TException
{
grantTablePermission_args args = new grantTablePermission_args();
args.setLogin(login);
args.setUser(user);
args.setTable(table);
args.setPerm(perm);
sendBase("grantTablePermission", args);
}
public void recv_grantTablePermission() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
grantTablePermission_result result = new grantTablePermission_result();
receiveBase(result, "grantTablePermission");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public boolean hasSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_hasSystemPermission(login, user, perm);
return recv_hasSystemPermission();
}
public void send_hasSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws org.apache.thrift.TException
{
hasSystemPermission_args args = new hasSystemPermission_args();
args.setLogin(login);
args.setUser(user);
args.setPerm(perm);
sendBase("hasSystemPermission", args);
}
public boolean recv_hasSystemPermission() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
hasSystemPermission_result result = new hasSystemPermission_result();
receiveBase(result, "hasSystemPermission");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "hasSystemPermission failed: unknown result");
}
public boolean hasTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_hasTablePermission(login, user, table, perm);
return recv_hasTablePermission();
}
public void send_hasTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws org.apache.thrift.TException
{
hasTablePermission_args args = new hasTablePermission_args();
args.setLogin(login);
args.setUser(user);
args.setTable(table);
args.setPerm(perm);
sendBase("hasTablePermission", args);
}
public boolean recv_hasTablePermission() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
hasTablePermission_result result = new hasTablePermission_result();
receiveBase(result, "hasTablePermission");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "hasTablePermission failed: unknown result");
}
public Set listLocalUsers(ByteBuffer login) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_listLocalUsers(login);
return recv_listLocalUsers();
}
public void send_listLocalUsers(ByteBuffer login) throws org.apache.thrift.TException
{
listLocalUsers_args args = new listLocalUsers_args();
args.setLogin(login);
sendBase("listLocalUsers", args);
}
public Set recv_listLocalUsers() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
listLocalUsers_result result = new listLocalUsers_result();
receiveBase(result, "listLocalUsers");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "listLocalUsers failed: unknown result");
}
public void revokeSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_revokeSystemPermission(login, user, perm);
recv_revokeSystemPermission();
}
public void send_revokeSystemPermission(ByteBuffer login, String user, SystemPermission perm) throws org.apache.thrift.TException
{
revokeSystemPermission_args args = new revokeSystemPermission_args();
args.setLogin(login);
args.setUser(user);
args.setPerm(perm);
sendBase("revokeSystemPermission", args);
}
public void recv_revokeSystemPermission() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
revokeSystemPermission_result result = new revokeSystemPermission_result();
receiveBase(result, "revokeSystemPermission");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void revokeTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_revokeTablePermission(login, user, table, perm);
recv_revokeTablePermission();
}
public void send_revokeTablePermission(ByteBuffer login, String user, String table, TablePermission perm) throws org.apache.thrift.TException
{
revokeTablePermission_args args = new revokeTablePermission_args();
args.setLogin(login);
args.setUser(user);
args.setTable(table);
args.setPerm(perm);
sendBase("revokeTablePermission", args);
}
public void recv_revokeTablePermission() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
revokeTablePermission_result result = new revokeTablePermission_result();
receiveBase(result, "revokeTablePermission");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
return;
}
public String createBatchScanner(ByteBuffer login, String tableName, BatchScanOptions options) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_createBatchScanner(login, tableName, options);
return recv_createBatchScanner();
}
public void send_createBatchScanner(ByteBuffer login, String tableName, BatchScanOptions options) throws org.apache.thrift.TException
{
createBatchScanner_args args = new createBatchScanner_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOptions(options);
sendBase("createBatchScanner", args);
}
public String recv_createBatchScanner() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
createBatchScanner_result result = new createBatchScanner_result();
receiveBase(result, "createBatchScanner");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createBatchScanner failed: unknown result");
}
public String createScanner(ByteBuffer login, String tableName, ScanOptions options) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_createScanner(login, tableName, options);
return recv_createScanner();
}
public void send_createScanner(ByteBuffer login, String tableName, ScanOptions options) throws org.apache.thrift.TException
{
createScanner_args args = new createScanner_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOptions(options);
sendBase("createScanner", args);
}
public String recv_createScanner() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
createScanner_result result = new createScanner_result();
receiveBase(result, "createScanner");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createScanner failed: unknown result");
}
public boolean hasNext(String scanner) throws UnknownScanner, org.apache.thrift.TException
{
send_hasNext(scanner);
return recv_hasNext();
}
public void send_hasNext(String scanner) throws org.apache.thrift.TException
{
hasNext_args args = new hasNext_args();
args.setScanner(scanner);
sendBase("hasNext", args);
}
public boolean recv_hasNext() throws UnknownScanner, org.apache.thrift.TException
{
hasNext_result result = new hasNext_result();
receiveBase(result, "hasNext");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "hasNext failed: unknown result");
}
public KeyValueAndPeek nextEntry(String scanner) throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException
{
send_nextEntry(scanner);
return recv_nextEntry();
}
public void send_nextEntry(String scanner) throws org.apache.thrift.TException
{
nextEntry_args args = new nextEntry_args();
args.setScanner(scanner);
sendBase("nextEntry", args);
}
public KeyValueAndPeek recv_nextEntry() throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException
{
nextEntry_result result = new nextEntry_result();
receiveBase(result, "nextEntry");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "nextEntry failed: unknown result");
}
public ScanResult nextK(String scanner, int k) throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException
{
send_nextK(scanner, k);
return recv_nextK();
}
public void send_nextK(String scanner, int k) throws org.apache.thrift.TException
{
nextK_args args = new nextK_args();
args.setScanner(scanner);
args.setK(k);
sendBase("nextK", args);
}
public ScanResult recv_nextK() throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException
{
nextK_result result = new nextK_result();
receiveBase(result, "nextK");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "nextK failed: unknown result");
}
public void closeScanner(String scanner) throws UnknownScanner, org.apache.thrift.TException
{
send_closeScanner(scanner);
recv_closeScanner();
}
public void send_closeScanner(String scanner) throws org.apache.thrift.TException
{
closeScanner_args args = new closeScanner_args();
args.setScanner(scanner);
sendBase("closeScanner", args);
}
public void recv_closeScanner() throws UnknownScanner, org.apache.thrift.TException
{
closeScanner_result result = new closeScanner_result();
receiveBase(result, "closeScanner");
if (result.ouch1 != null) {
throw result.ouch1;
}
return;
}
public void updateAndFlush(ByteBuffer login, String tableName, Map> cells) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, MutationsRejectedException, org.apache.thrift.TException
{
send_updateAndFlush(login, tableName, cells);
recv_updateAndFlush();
}
public void send_updateAndFlush(ByteBuffer login, String tableName, Map> cells) throws org.apache.thrift.TException
{
updateAndFlush_args args = new updateAndFlush_args();
args.setLogin(login);
args.setTableName(tableName);
args.setCells(cells);
sendBase("updateAndFlush", args);
}
public void recv_updateAndFlush() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, MutationsRejectedException, org.apache.thrift.TException
{
updateAndFlush_result result = new updateAndFlush_result();
receiveBase(result, "updateAndFlush");
if (result.outch1 != null) {
throw result.outch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
if (result.ouch4 != null) {
throw result.ouch4;
}
return;
}
public String createWriter(ByteBuffer login, String tableName, WriterOptions opts) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_createWriter(login, tableName, opts);
return recv_createWriter();
}
public void send_createWriter(ByteBuffer login, String tableName, WriterOptions opts) throws org.apache.thrift.TException
{
createWriter_args args = new createWriter_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOpts(opts);
sendBase("createWriter", args);
}
public String recv_createWriter() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
createWriter_result result = new createWriter_result();
receiveBase(result, "createWriter");
if (result.isSetSuccess()) {
return result.success;
}
if (result.outch1 != null) {
throw result.outch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createWriter failed: unknown result");
}
public void update(String writer, Map> cells) throws org.apache.thrift.TException
{
send_update(writer, cells);
}
public void send_update(String writer, Map> cells) throws org.apache.thrift.TException
{
update_args args = new update_args();
args.setWriter(writer);
args.setCells(cells);
sendBase("update", args);
}
public void flush(String writer) throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException
{
send_flush(writer);
recv_flush();
}
public void send_flush(String writer) throws org.apache.thrift.TException
{
flush_args args = new flush_args();
args.setWriter(writer);
sendBase("flush", args);
}
public void recv_flush() throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException
{
flush_result result = new flush_result();
receiveBase(result, "flush");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public void closeWriter(String writer) throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException
{
send_closeWriter(writer);
recv_closeWriter();
}
public void send_closeWriter(String writer) throws org.apache.thrift.TException
{
closeWriter_args args = new closeWriter_args();
args.setWriter(writer);
sendBase("closeWriter", args);
}
public void recv_closeWriter() throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException
{
closeWriter_result result = new closeWriter_result();
receiveBase(result, "closeWriter");
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
return;
}
public ConditionalStatus updateRowConditionally(ByteBuffer login, String tableName, ByteBuffer row, ConditionalUpdates updates) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_updateRowConditionally(login, tableName, row, updates);
return recv_updateRowConditionally();
}
public void send_updateRowConditionally(ByteBuffer login, String tableName, ByteBuffer row, ConditionalUpdates updates) throws org.apache.thrift.TException
{
updateRowConditionally_args args = new updateRowConditionally_args();
args.setLogin(login);
args.setTableName(tableName);
args.setRow(row);
args.setUpdates(updates);
sendBase("updateRowConditionally", args);
}
public ConditionalStatus recv_updateRowConditionally() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
updateRowConditionally_result result = new updateRowConditionally_result();
receiveBase(result, "updateRowConditionally");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateRowConditionally failed: unknown result");
}
public String createConditionalWriter(ByteBuffer login, String tableName, ConditionalWriterOptions options) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
send_createConditionalWriter(login, tableName, options);
return recv_createConditionalWriter();
}
public void send_createConditionalWriter(ByteBuffer login, String tableName, ConditionalWriterOptions options) throws org.apache.thrift.TException
{
createConditionalWriter_args args = new createConditionalWriter_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOptions(options);
sendBase("createConditionalWriter", args);
}
public String recv_createConditionalWriter() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException
{
createConditionalWriter_result result = new createConditionalWriter_result();
receiveBase(result, "createConditionalWriter");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createConditionalWriter failed: unknown result");
}
public Map updateRowsConditionally(String conditionalWriter, Map updates) throws UnknownWriter, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
send_updateRowsConditionally(conditionalWriter, updates);
return recv_updateRowsConditionally();
}
public void send_updateRowsConditionally(String conditionalWriter, Map updates) throws org.apache.thrift.TException
{
updateRowsConditionally_args args = new updateRowsConditionally_args();
args.setConditionalWriter(conditionalWriter);
args.setUpdates(updates);
sendBase("updateRowsConditionally", args);
}
public Map recv_updateRowsConditionally() throws UnknownWriter, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException
{
updateRowsConditionally_result result = new updateRowsConditionally_result();
receiveBase(result, "updateRowsConditionally");
if (result.isSetSuccess()) {
return result.success;
}
if (result.ouch1 != null) {
throw result.ouch1;
}
if (result.ouch2 != null) {
throw result.ouch2;
}
if (result.ouch3 != null) {
throw result.ouch3;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateRowsConditionally failed: unknown result");
}
public void closeConditionalWriter(String conditionalWriter) throws org.apache.thrift.TException
{
send_closeConditionalWriter(conditionalWriter);
recv_closeConditionalWriter();
}
public void send_closeConditionalWriter(String conditionalWriter) throws org.apache.thrift.TException
{
closeConditionalWriter_args args = new closeConditionalWriter_args();
args.setConditionalWriter(conditionalWriter);
sendBase("closeConditionalWriter", args);
}
public void recv_closeConditionalWriter() throws org.apache.thrift.TException
{
closeConditionalWriter_result result = new closeConditionalWriter_result();
receiveBase(result, "closeConditionalWriter");
return;
}
public Range getRowRange(ByteBuffer row) throws org.apache.thrift.TException
{
send_getRowRange(row);
return recv_getRowRange();
}
public void send_getRowRange(ByteBuffer row) throws org.apache.thrift.TException
{
getRowRange_args args = new getRowRange_args();
args.setRow(row);
sendBase("getRowRange", args);
}
public Range recv_getRowRange() throws org.apache.thrift.TException
{
getRowRange_result result = new getRowRange_result();
receiveBase(result, "getRowRange");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getRowRange failed: unknown result");
}
public Key getFollowing(Key key, PartialKey part) throws org.apache.thrift.TException
{
send_getFollowing(key, part);
return recv_getFollowing();
}
public void send_getFollowing(Key key, PartialKey part) throws org.apache.thrift.TException
{
getFollowing_args args = new getFollowing_args();
args.setKey(key);
args.setPart(part);
sendBase("getFollowing", args);
}
public Key recv_getFollowing() throws org.apache.thrift.TException
{
getFollowing_result result = new getFollowing_result();
receiveBase(result, "getFollowing");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getFollowing failed: unknown result");
}
}
public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface {
public static class Factory implements org.apache.thrift.async.TAsyncClientFactory {
private org.apache.thrift.async.TAsyncClientManager clientManager;
private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) {
this.clientManager = clientManager;
this.protocolFactory = protocolFactory;
}
public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) {
return new AsyncClient(protocolFactory, clientManager, transport);
}
}
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) {
super(protocolFactory, clientManager, transport);
}
public void login(String principal, Map loginProperties, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
login_call method_call = new login_call(principal, loginProperties, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class login_call extends org.apache.thrift.async.TAsyncMethodCall {
private String principal;
private Map loginProperties;
public login_call(String principal, Map loginProperties, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.principal = principal;
this.loginProperties = loginProperties;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("login", org.apache.thrift.protocol.TMessageType.CALL, 0));
login_args args = new login_args();
args.setPrincipal(principal);
args.setLoginProperties(loginProperties);
args.write(prot);
prot.writeMessageEnd();
}
public ByteBuffer getResult() throws AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_login();
}
}
public void addConstraint(ByteBuffer login, String tableName, String constraintClassName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
addConstraint_call method_call = new addConstraint_call(login, tableName, constraintClassName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class addConstraint_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String constraintClassName;
public addConstraint_call(ByteBuffer login, String tableName, String constraintClassName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.constraintClassName = constraintClassName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addConstraint", org.apache.thrift.protocol.TMessageType.CALL, 0));
addConstraint_args args = new addConstraint_args();
args.setLogin(login);
args.setTableName(tableName);
args.setConstraintClassName(constraintClassName);
args.write(prot);
prot.writeMessageEnd();
}
public int getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_addConstraint();
}
}
public void addSplits(ByteBuffer login, String tableName, Set splits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
addSplits_call method_call = new addSplits_call(login, tableName, splits, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class addSplits_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private Set splits;
public addSplits_call(ByteBuffer login, String tableName, Set splits, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.splits = splits;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addSplits", org.apache.thrift.protocol.TMessageType.CALL, 0));
addSplits_args args = new addSplits_args();
args.setLogin(login);
args.setTableName(tableName);
args.setSplits(splits);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_addSplits();
}
}
public void attachIterator(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
attachIterator_call method_call = new attachIterator_call(login, tableName, setting, scopes, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class attachIterator_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private IteratorSetting setting;
private Set scopes;
public attachIterator_call(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.setting = setting;
this.scopes = scopes;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("attachIterator", org.apache.thrift.protocol.TMessageType.CALL, 0));
attachIterator_args args = new attachIterator_args();
args.setLogin(login);
args.setTableName(tableName);
args.setSetting(setting);
args.setScopes(scopes);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_attachIterator();
}
}
public void checkIteratorConflicts(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
checkIteratorConflicts_call method_call = new checkIteratorConflicts_call(login, tableName, setting, scopes, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class checkIteratorConflicts_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private IteratorSetting setting;
private Set scopes;
public checkIteratorConflicts_call(ByteBuffer login, String tableName, IteratorSetting setting, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.setting = setting;
this.scopes = scopes;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("checkIteratorConflicts", org.apache.thrift.protocol.TMessageType.CALL, 0));
checkIteratorConflicts_args args = new checkIteratorConflicts_args();
args.setLogin(login);
args.setTableName(tableName);
args.setSetting(setting);
args.setScopes(scopes);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloSecurityException, AccumuloException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_checkIteratorConflicts();
}
}
public void clearLocatorCache(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
clearLocatorCache_call method_call = new clearLocatorCache_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class clearLocatorCache_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public clearLocatorCache_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("clearLocatorCache", org.apache.thrift.protocol.TMessageType.CALL, 0));
clearLocatorCache_args args = new clearLocatorCache_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_clearLocatorCache();
}
}
public void cloneTable(ByteBuffer login, String tableName, String newTableName, boolean flush, Map propertiesToSet, Set propertiesToExclude, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
cloneTable_call method_call = new cloneTable_call(login, tableName, newTableName, flush, propertiesToSet, propertiesToExclude, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class cloneTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String newTableName;
private boolean flush;
private Map propertiesToSet;
private Set propertiesToExclude;
public cloneTable_call(ByteBuffer login, String tableName, String newTableName, boolean flush, Map propertiesToSet, Set propertiesToExclude, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.newTableName = newTableName;
this.flush = flush;
this.propertiesToSet = propertiesToSet;
this.propertiesToExclude = propertiesToExclude;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("cloneTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
cloneTable_args args = new cloneTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setNewTableName(newTableName);
args.setFlush(flush);
args.setPropertiesToSet(propertiesToSet);
args.setPropertiesToExclude(propertiesToExclude);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_cloneTable();
}
}
public void compactTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, List iterators, boolean flush, boolean wait, CompactionStrategyConfig compactionStrategy, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
compactTable_call method_call = new compactTable_call(login, tableName, startRow, endRow, iterators, flush, wait, compactionStrategy, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class compactTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ByteBuffer startRow;
private ByteBuffer endRow;
private List iterators;
private boolean flush;
private boolean wait;
private CompactionStrategyConfig compactionStrategy;
public compactTable_call(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, List iterators, boolean flush, boolean wait, CompactionStrategyConfig compactionStrategy, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.startRow = startRow;
this.endRow = endRow;
this.iterators = iterators;
this.flush = flush;
this.wait = wait;
this.compactionStrategy = compactionStrategy;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("compactTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
compactTable_args args = new compactTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
args.setIterators(iterators);
args.setFlush(flush);
args.setWait(wait);
args.setCompactionStrategy(compactionStrategy);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_compactTable();
}
}
public void cancelCompaction(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
cancelCompaction_call method_call = new cancelCompaction_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class cancelCompaction_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public cancelCompaction_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("cancelCompaction", org.apache.thrift.protocol.TMessageType.CALL, 0));
cancelCompaction_args args = new cancelCompaction_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloSecurityException, TableNotFoundException, AccumuloException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_cancelCompaction();
}
}
public void createTable(ByteBuffer login, String tableName, boolean versioningIter, TimeType type, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createTable_call method_call = new createTable_call(login, tableName, versioningIter, type, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private boolean versioningIter;
private TimeType type;
public createTable_call(ByteBuffer login, String tableName, boolean versioningIter, TimeType type, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.versioningIter = versioningIter;
this.type = type;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
createTable_args args = new createTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setVersioningIter(versioningIter);
args.setType(type);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableExistsException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_createTable();
}
}
public void deleteTable(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteTable_call method_call = new deleteTable_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public deleteTable_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteTable_args args = new deleteTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_deleteTable();
}
}
public void deleteRows(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteRows_call method_call = new deleteRows_call(login, tableName, startRow, endRow, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class deleteRows_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ByteBuffer startRow;
private ByteBuffer endRow;
public deleteRows_call(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.startRow = startRow;
this.endRow = endRow;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteRows", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteRows_args args = new deleteRows_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_deleteRows();
}
}
public void exportTable(ByteBuffer login, String tableName, String exportDir, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
exportTable_call method_call = new exportTable_call(login, tableName, exportDir, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class exportTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String exportDir;
public exportTable_call(ByteBuffer login, String tableName, String exportDir, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.exportDir = exportDir;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("exportTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
exportTable_args args = new exportTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setExportDir(exportDir);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_exportTable();
}
}
public void flushTable(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
flushTable_call method_call = new flushTable_call(login, tableName, startRow, endRow, wait, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class flushTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ByteBuffer startRow;
private ByteBuffer endRow;
private boolean wait;
public flushTable_call(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.startRow = startRow;
this.endRow = endRow;
this.wait = wait;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flushTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
flushTable_args args = new flushTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
args.setWait(wait);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_flushTable();
}
}
public void getDiskUsage(ByteBuffer login, Set tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getDiskUsage_call method_call = new getDiskUsage_call(login, tables, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getDiskUsage_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private Set tables;
public getDiskUsage_call(ByteBuffer login, Set tables, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tables = tables;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getDiskUsage", org.apache.thrift.protocol.TMessageType.CALL, 0));
getDiskUsage_args args = new getDiskUsage_args();
args.setLogin(login);
args.setTables(tables);
args.write(prot);
prot.writeMessageEnd();
}
public List getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getDiskUsage();
}
}
public void getLocalityGroups(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getLocalityGroups_call method_call = new getLocalityGroups_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getLocalityGroups_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public getLocalityGroups_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getLocalityGroups", org.apache.thrift.protocol.TMessageType.CALL, 0));
getLocalityGroups_args args = new getLocalityGroups_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public Map> getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getLocalityGroups();
}
}
public void getIteratorSetting(ByteBuffer login, String tableName, String iteratorName, IteratorScope scope, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getIteratorSetting_call method_call = new getIteratorSetting_call(login, tableName, iteratorName, scope, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getIteratorSetting_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String iteratorName;
private IteratorScope scope;
public getIteratorSetting_call(ByteBuffer login, String tableName, String iteratorName, IteratorScope scope, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.iteratorName = iteratorName;
this.scope = scope;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getIteratorSetting", org.apache.thrift.protocol.TMessageType.CALL, 0));
getIteratorSetting_args args = new getIteratorSetting_args();
args.setLogin(login);
args.setTableName(tableName);
args.setIteratorName(iteratorName);
args.setScope(scope);
args.write(prot);
prot.writeMessageEnd();
}
public IteratorSetting getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getIteratorSetting();
}
}
public void getMaxRow(ByteBuffer login, String tableName, Set auths, ByteBuffer startRow, boolean startInclusive, ByteBuffer endRow, boolean endInclusive, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getMaxRow_call method_call = new getMaxRow_call(login, tableName, auths, startRow, startInclusive, endRow, endInclusive, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getMaxRow_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private Set auths;
private ByteBuffer startRow;
private boolean startInclusive;
private ByteBuffer endRow;
private boolean endInclusive;
public getMaxRow_call(ByteBuffer login, String tableName, Set auths, ByteBuffer startRow, boolean startInclusive, ByteBuffer endRow, boolean endInclusive, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.auths = auths;
this.startRow = startRow;
this.startInclusive = startInclusive;
this.endRow = endRow;
this.endInclusive = endInclusive;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getMaxRow", org.apache.thrift.protocol.TMessageType.CALL, 0));
getMaxRow_args args = new getMaxRow_args();
args.setLogin(login);
args.setTableName(tableName);
args.setAuths(auths);
args.setStartRow(startRow);
args.setStartInclusive(startInclusive);
args.setEndRow(endRow);
args.setEndInclusive(endInclusive);
args.write(prot);
prot.writeMessageEnd();
}
public ByteBuffer getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getMaxRow();
}
}
public void getTableProperties(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getTableProperties_call method_call = new getTableProperties_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getTableProperties_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public getTableProperties_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTableProperties", org.apache.thrift.protocol.TMessageType.CALL, 0));
getTableProperties_args args = new getTableProperties_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public Map getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getTableProperties();
}
}
public void importDirectory(ByteBuffer login, String tableName, String importDir, String failureDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
importDirectory_call method_call = new importDirectory_call(login, tableName, importDir, failureDir, setTime, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class importDirectory_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String importDir;
private String failureDir;
private boolean setTime;
public importDirectory_call(ByteBuffer login, String tableName, String importDir, String failureDir, boolean setTime, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.importDir = importDir;
this.failureDir = failureDir;
this.setTime = setTime;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("importDirectory", org.apache.thrift.protocol.TMessageType.CALL, 0));
importDirectory_args args = new importDirectory_args();
args.setLogin(login);
args.setTableName(tableName);
args.setImportDir(importDir);
args.setFailureDir(failureDir);
args.setSetTime(setTime);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws TableNotFoundException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_importDirectory();
}
}
public void importTable(ByteBuffer login, String tableName, String importDir, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
importTable_call method_call = new importTable_call(login, tableName, importDir, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class importTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String importDir;
public importTable_call(ByteBuffer login, String tableName, String importDir, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.importDir = importDir;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("importTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
importTable_args args = new importTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setImportDir(importDir);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws TableExistsException, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_importTable();
}
}
public void listSplits(ByteBuffer login, String tableName, int maxSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
listSplits_call method_call = new listSplits_call(login, tableName, maxSplits, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class listSplits_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private int maxSplits;
public listSplits_call(ByteBuffer login, String tableName, int maxSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.maxSplits = maxSplits;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listSplits", org.apache.thrift.protocol.TMessageType.CALL, 0));
listSplits_args args = new listSplits_args();
args.setLogin(login);
args.setTableName(tableName);
args.setMaxSplits(maxSplits);
args.write(prot);
prot.writeMessageEnd();
}
public List getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_listSplits();
}
}
public void listTables(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
listTables_call method_call = new listTables_call(login, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class listTables_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
public listTables_call(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listTables", org.apache.thrift.protocol.TMessageType.CALL, 0));
listTables_args args = new listTables_args();
args.setLogin(login);
args.write(prot);
prot.writeMessageEnd();
}
public Set getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_listTables();
}
}
public void listIterators(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
listIterators_call method_call = new listIterators_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class listIterators_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public listIterators_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listIterators", org.apache.thrift.protocol.TMessageType.CALL, 0));
listIterators_args args = new listIterators_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public Map> getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_listIterators();
}
}
public void listConstraints(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
listConstraints_call method_call = new listConstraints_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class listConstraints_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public listConstraints_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listConstraints", org.apache.thrift.protocol.TMessageType.CALL, 0));
listConstraints_args args = new listConstraints_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public Map getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_listConstraints();
}
}
public void mergeTablets(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
mergeTablets_call method_call = new mergeTablets_call(login, tableName, startRow, endRow, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class mergeTablets_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ByteBuffer startRow;
private ByteBuffer endRow;
public mergeTablets_call(ByteBuffer login, String tableName, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.startRow = startRow;
this.endRow = endRow;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("mergeTablets", org.apache.thrift.protocol.TMessageType.CALL, 0));
mergeTablets_args args = new mergeTablets_args();
args.setLogin(login);
args.setTableName(tableName);
args.setStartRow(startRow);
args.setEndRow(endRow);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_mergeTablets();
}
}
public void offlineTable(ByteBuffer login, String tableName, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
offlineTable_call method_call = new offlineTable_call(login, tableName, wait, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class offlineTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private boolean wait;
public offlineTable_call(ByteBuffer login, String tableName, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.wait = wait;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("offlineTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
offlineTable_args args = new offlineTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setWait(wait);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_offlineTable();
}
}
public void onlineTable(ByteBuffer login, String tableName, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
onlineTable_call method_call = new onlineTable_call(login, tableName, wait, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class onlineTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private boolean wait;
public onlineTable_call(ByteBuffer login, String tableName, boolean wait, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.wait = wait;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("onlineTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
onlineTable_args args = new onlineTable_args();
args.setLogin(login);
args.setTableName(tableName);
args.setWait(wait);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_onlineTable();
}
}
public void removeConstraint(ByteBuffer login, String tableName, int constraint, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
removeConstraint_call method_call = new removeConstraint_call(login, tableName, constraint, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class removeConstraint_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private int constraint;
public removeConstraint_call(ByteBuffer login, String tableName, int constraint, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.constraint = constraint;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeConstraint", org.apache.thrift.protocol.TMessageType.CALL, 0));
removeConstraint_args args = new removeConstraint_args();
args.setLogin(login);
args.setTableName(tableName);
args.setConstraint(constraint);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_removeConstraint();
}
}
public void removeIterator(ByteBuffer login, String tableName, String iterName, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
removeIterator_call method_call = new removeIterator_call(login, tableName, iterName, scopes, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class removeIterator_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String iterName;
private Set scopes;
public removeIterator_call(ByteBuffer login, String tableName, String iterName, Set scopes, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.iterName = iterName;
this.scopes = scopes;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeIterator", org.apache.thrift.protocol.TMessageType.CALL, 0));
removeIterator_args args = new removeIterator_args();
args.setLogin(login);
args.setTableName(tableName);
args.setIterName(iterName);
args.setScopes(scopes);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_removeIterator();
}
}
public void removeTableProperty(ByteBuffer login, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
removeTableProperty_call method_call = new removeTableProperty_call(login, tableName, property, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class removeTableProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String property;
public removeTableProperty_call(ByteBuffer login, String tableName, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.property = property;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeTableProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
removeTableProperty_args args = new removeTableProperty_args();
args.setLogin(login);
args.setTableName(tableName);
args.setProperty(property);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_removeTableProperty();
}
}
public void renameTable(ByteBuffer login, String oldTableName, String newTableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
renameTable_call method_call = new renameTable_call(login, oldTableName, newTableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class renameTable_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String oldTableName;
private String newTableName;
public renameTable_call(ByteBuffer login, String oldTableName, String newTableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.oldTableName = oldTableName;
this.newTableName = newTableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("renameTable", org.apache.thrift.protocol.TMessageType.CALL, 0));
renameTable_args args = new renameTable_args();
args.setLogin(login);
args.setOldTableName(oldTableName);
args.setNewTableName(newTableName);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, TableExistsException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_renameTable();
}
}
public void setLocalityGroups(ByteBuffer login, String tableName, Map> groups, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setLocalityGroups_call method_call = new setLocalityGroups_call(login, tableName, groups, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setLocalityGroups_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private Map> groups;
public setLocalityGroups_call(ByteBuffer login, String tableName, Map> groups, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.groups = groups;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setLocalityGroups", org.apache.thrift.protocol.TMessageType.CALL, 0));
setLocalityGroups_args args = new setLocalityGroups_args();
args.setLogin(login);
args.setTableName(tableName);
args.setGroups(groups);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_setLocalityGroups();
}
}
public void setTableProperty(ByteBuffer login, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setTableProperty_call method_call = new setTableProperty_call(login, tableName, property, value, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setTableProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String property;
private String value;
public setTableProperty_call(ByteBuffer login, String tableName, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.property = property;
this.value = value;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setTableProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
setTableProperty_args args = new setTableProperty_args();
args.setLogin(login);
args.setTableName(tableName);
args.setProperty(property);
args.setValue(value);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_setTableProperty();
}
}
public void splitRangeByTablets(ByteBuffer login, String tableName, Range range, int maxSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
splitRangeByTablets_call method_call = new splitRangeByTablets_call(login, tableName, range, maxSplits, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class splitRangeByTablets_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private Range range;
private int maxSplits;
public splitRangeByTablets_call(ByteBuffer login, String tableName, Range range, int maxSplits, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.range = range;
this.maxSplits = maxSplits;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("splitRangeByTablets", org.apache.thrift.protocol.TMessageType.CALL, 0));
splitRangeByTablets_args args = new splitRangeByTablets_args();
args.setLogin(login);
args.setTableName(tableName);
args.setRange(range);
args.setMaxSplits(maxSplits);
args.write(prot);
prot.writeMessageEnd();
}
public Set getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_splitRangeByTablets();
}
}
public void tableExists(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
tableExists_call method_call = new tableExists_call(login, tableName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class tableExists_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
public tableExists_call(ByteBuffer login, String tableName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("tableExists", org.apache.thrift.protocol.TMessageType.CALL, 0));
tableExists_args args = new tableExists_args();
args.setLogin(login);
args.setTableName(tableName);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_tableExists();
}
}
public void tableIdMap(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
tableIdMap_call method_call = new tableIdMap_call(login, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class tableIdMap_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
public tableIdMap_call(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("tableIdMap", org.apache.thrift.protocol.TMessageType.CALL, 0));
tableIdMap_args args = new tableIdMap_args();
args.setLogin(login);
args.write(prot);
prot.writeMessageEnd();
}
public Map getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_tableIdMap();
}
}
public void testTableClassLoad(ByteBuffer login, String tableName, String className, String asTypeName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testTableClassLoad_call method_call = new testTableClassLoad_call(login, tableName, className, asTypeName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testTableClassLoad_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private String className;
private String asTypeName;
public testTableClassLoad_call(ByteBuffer login, String tableName, String className, String asTypeName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.className = className;
this.asTypeName = asTypeName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("testTableClassLoad", org.apache.thrift.protocol.TMessageType.CALL, 0));
testTableClassLoad_args args = new testTableClassLoad_args();
args.setLogin(login);
args.setTableName(tableName);
args.setClassName(className);
args.setAsTypeName(asTypeName);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_testTableClassLoad();
}
}
public void pingTabletServer(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
pingTabletServer_call method_call = new pingTabletServer_call(login, tserver, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class pingTabletServer_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tserver;
public pingTabletServer_call(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tserver = tserver;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("pingTabletServer", org.apache.thrift.protocol.TMessageType.CALL, 0));
pingTabletServer_args args = new pingTabletServer_args();
args.setLogin(login);
args.setTserver(tserver);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_pingTabletServer();
}
}
public void getActiveScans(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getActiveScans_call method_call = new getActiveScans_call(login, tserver, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getActiveScans_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tserver;
public getActiveScans_call(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tserver = tserver;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getActiveScans", org.apache.thrift.protocol.TMessageType.CALL, 0));
getActiveScans_args args = new getActiveScans_args();
args.setLogin(login);
args.setTserver(tserver);
args.write(prot);
prot.writeMessageEnd();
}
public List getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getActiveScans();
}
}
public void getActiveCompactions(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getActiveCompactions_call method_call = new getActiveCompactions_call(login, tserver, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getActiveCompactions_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tserver;
public getActiveCompactions_call(ByteBuffer login, String tserver, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tserver = tserver;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getActiveCompactions", org.apache.thrift.protocol.TMessageType.CALL, 0));
getActiveCompactions_args args = new getActiveCompactions_args();
args.setLogin(login);
args.setTserver(tserver);
args.write(prot);
prot.writeMessageEnd();
}
public List getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getActiveCompactions();
}
}
public void getSiteConfiguration(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getSiteConfiguration_call method_call = new getSiteConfiguration_call(login, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getSiteConfiguration_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
public getSiteConfiguration_call(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSiteConfiguration", org.apache.thrift.protocol.TMessageType.CALL, 0));
getSiteConfiguration_args args = new getSiteConfiguration_args();
args.setLogin(login);
args.write(prot);
prot.writeMessageEnd();
}
public Map getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getSiteConfiguration();
}
}
public void getSystemConfiguration(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getSystemConfiguration_call method_call = new getSystemConfiguration_call(login, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getSystemConfiguration_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
public getSystemConfiguration_call(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getSystemConfiguration", org.apache.thrift.protocol.TMessageType.CALL, 0));
getSystemConfiguration_args args = new getSystemConfiguration_args();
args.setLogin(login);
args.write(prot);
prot.writeMessageEnd();
}
public Map getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getSystemConfiguration();
}
}
public void getTabletServers(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getTabletServers_call method_call = new getTabletServers_call(login, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getTabletServers_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
public getTabletServers_call(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getTabletServers", org.apache.thrift.protocol.TMessageType.CALL, 0));
getTabletServers_args args = new getTabletServers_args();
args.setLogin(login);
args.write(prot);
prot.writeMessageEnd();
}
public List getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getTabletServers();
}
}
public void removeProperty(ByteBuffer login, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
removeProperty_call method_call = new removeProperty_call(login, property, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class removeProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String property;
public removeProperty_call(ByteBuffer login, String property, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.property = property;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("removeProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
removeProperty_args args = new removeProperty_args();
args.setLogin(login);
args.setProperty(property);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_removeProperty();
}
}
public void setProperty(ByteBuffer login, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
setProperty_call method_call = new setProperty_call(login, property, value, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class setProperty_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String property;
private String value;
public setProperty_call(ByteBuffer login, String property, String value, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.property = property;
this.value = value;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setProperty", org.apache.thrift.protocol.TMessageType.CALL, 0));
setProperty_args args = new setProperty_args();
args.setLogin(login);
args.setProperty(property);
args.setValue(value);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_setProperty();
}
}
public void testClassLoad(ByteBuffer login, String className, String asTypeName, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
testClassLoad_call method_call = new testClassLoad_call(login, className, asTypeName, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class testClassLoad_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String className;
private String asTypeName;
public testClassLoad_call(ByteBuffer login, String className, String asTypeName, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.className = className;
this.asTypeName = asTypeName;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("testClassLoad", org.apache.thrift.protocol.TMessageType.CALL, 0));
testClassLoad_args args = new testClassLoad_args();
args.setLogin(login);
args.setClassName(className);
args.setAsTypeName(asTypeName);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_testClassLoad();
}
}
public void authenticateUser(ByteBuffer login, String user, Map properties, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
authenticateUser_call method_call = new authenticateUser_call(login, user, properties, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class authenticateUser_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private Map properties;
public authenticateUser_call(ByteBuffer login, String user, Map properties, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.properties = properties;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("authenticateUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
authenticateUser_args args = new authenticateUser_args();
args.setLogin(login);
args.setUser(user);
args.setProperties(properties);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_authenticateUser();
}
}
public void changeUserAuthorizations(ByteBuffer login, String user, Set authorizations, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
changeUserAuthorizations_call method_call = new changeUserAuthorizations_call(login, user, authorizations, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class changeUserAuthorizations_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private Set authorizations;
public changeUserAuthorizations_call(ByteBuffer login, String user, Set authorizations, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.authorizations = authorizations;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeUserAuthorizations", org.apache.thrift.protocol.TMessageType.CALL, 0));
changeUserAuthorizations_args args = new changeUserAuthorizations_args();
args.setLogin(login);
args.setUser(user);
args.setAuthorizations(authorizations);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_changeUserAuthorizations();
}
}
public void changeLocalUserPassword(ByteBuffer login, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
changeLocalUserPassword_call method_call = new changeLocalUserPassword_call(login, user, password, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class changeLocalUserPassword_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private ByteBuffer password;
public changeLocalUserPassword_call(ByteBuffer login, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.password = password;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeLocalUserPassword", org.apache.thrift.protocol.TMessageType.CALL, 0));
changeLocalUserPassword_args args = new changeLocalUserPassword_args();
args.setLogin(login);
args.setUser(user);
args.setPassword(password);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_changeLocalUserPassword();
}
}
public void createLocalUser(ByteBuffer login, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createLocalUser_call method_call = new createLocalUser_call(login, user, password, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createLocalUser_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private ByteBuffer password;
public createLocalUser_call(ByteBuffer login, String user, ByteBuffer password, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.password = password;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createLocalUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
createLocalUser_args args = new createLocalUser_args();
args.setLogin(login);
args.setUser(user);
args.setPassword(password);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_createLocalUser();
}
}
public void dropLocalUser(ByteBuffer login, String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
dropLocalUser_call method_call = new dropLocalUser_call(login, user, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class dropLocalUser_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
public dropLocalUser_call(ByteBuffer login, String user, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("dropLocalUser", org.apache.thrift.protocol.TMessageType.CALL, 0));
dropLocalUser_args args = new dropLocalUser_args();
args.setLogin(login);
args.setUser(user);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_dropLocalUser();
}
}
public void getUserAuthorizations(ByteBuffer login, String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getUserAuthorizations_call method_call = new getUserAuthorizations_call(login, user, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getUserAuthorizations_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
public getUserAuthorizations_call(ByteBuffer login, String user, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserAuthorizations", org.apache.thrift.protocol.TMessageType.CALL, 0));
getUserAuthorizations_args args = new getUserAuthorizations_args();
args.setLogin(login);
args.setUser(user);
args.write(prot);
prot.writeMessageEnd();
}
public List getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getUserAuthorizations();
}
}
public void grantSystemPermission(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
grantSystemPermission_call method_call = new grantSystemPermission_call(login, user, perm, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class grantSystemPermission_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private SystemPermission perm;
public grantSystemPermission_call(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.perm = perm;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("grantSystemPermission", org.apache.thrift.protocol.TMessageType.CALL, 0));
grantSystemPermission_args args = new grantSystemPermission_args();
args.setLogin(login);
args.setUser(user);
args.setPerm(perm);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_grantSystemPermission();
}
}
public void grantTablePermission(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
grantTablePermission_call method_call = new grantTablePermission_call(login, user, table, perm, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class grantTablePermission_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private String table;
private TablePermission perm;
public grantTablePermission_call(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.table = table;
this.perm = perm;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("grantTablePermission", org.apache.thrift.protocol.TMessageType.CALL, 0));
grantTablePermission_args args = new grantTablePermission_args();
args.setLogin(login);
args.setUser(user);
args.setTable(table);
args.setPerm(perm);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_grantTablePermission();
}
}
public void hasSystemPermission(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
hasSystemPermission_call method_call = new hasSystemPermission_call(login, user, perm, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class hasSystemPermission_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private SystemPermission perm;
public hasSystemPermission_call(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.perm = perm;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("hasSystemPermission", org.apache.thrift.protocol.TMessageType.CALL, 0));
hasSystemPermission_args args = new hasSystemPermission_args();
args.setLogin(login);
args.setUser(user);
args.setPerm(perm);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_hasSystemPermission();
}
}
public void hasTablePermission(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
hasTablePermission_call method_call = new hasTablePermission_call(login, user, table, perm, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class hasTablePermission_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private String table;
private TablePermission perm;
public hasTablePermission_call(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.table = table;
this.perm = perm;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("hasTablePermission", org.apache.thrift.protocol.TMessageType.CALL, 0));
hasTablePermission_args args = new hasTablePermission_args();
args.setLogin(login);
args.setUser(user);
args.setTable(table);
args.setPerm(perm);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_hasTablePermission();
}
}
public void listLocalUsers(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
listLocalUsers_call method_call = new listLocalUsers_call(login, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class listLocalUsers_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
public listLocalUsers_call(ByteBuffer login, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listLocalUsers", org.apache.thrift.protocol.TMessageType.CALL, 0));
listLocalUsers_args args = new listLocalUsers_args();
args.setLogin(login);
args.write(prot);
prot.writeMessageEnd();
}
public Set getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_listLocalUsers();
}
}
public void revokeSystemPermission(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
revokeSystemPermission_call method_call = new revokeSystemPermission_call(login, user, perm, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class revokeSystemPermission_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private SystemPermission perm;
public revokeSystemPermission_call(ByteBuffer login, String user, SystemPermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.perm = perm;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("revokeSystemPermission", org.apache.thrift.protocol.TMessageType.CALL, 0));
revokeSystemPermission_args args = new revokeSystemPermission_args();
args.setLogin(login);
args.setUser(user);
args.setPerm(perm);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_revokeSystemPermission();
}
}
public void revokeTablePermission(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
revokeTablePermission_call method_call = new revokeTablePermission_call(login, user, table, perm, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class revokeTablePermission_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String user;
private String table;
private TablePermission perm;
public revokeTablePermission_call(ByteBuffer login, String user, String table, TablePermission perm, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.user = user;
this.table = table;
this.perm = perm;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("revokeTablePermission", org.apache.thrift.protocol.TMessageType.CALL, 0));
revokeTablePermission_args args = new revokeTablePermission_args();
args.setLogin(login);
args.setUser(user);
args.setTable(table);
args.setPerm(perm);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_revokeTablePermission();
}
}
public void createBatchScanner(ByteBuffer login, String tableName, BatchScanOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createBatchScanner_call method_call = new createBatchScanner_call(login, tableName, options, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createBatchScanner_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private BatchScanOptions options;
public createBatchScanner_call(ByteBuffer login, String tableName, BatchScanOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.options = options;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createBatchScanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
createBatchScanner_args args = new createBatchScanner_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOptions(options);
args.write(prot);
prot.writeMessageEnd();
}
public String getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createBatchScanner();
}
}
public void createScanner(ByteBuffer login, String tableName, ScanOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createScanner_call method_call = new createScanner_call(login, tableName, options, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createScanner_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ScanOptions options;
public createScanner_call(ByteBuffer login, String tableName, ScanOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.options = options;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createScanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
createScanner_args args = new createScanner_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOptions(options);
args.write(prot);
prot.writeMessageEnd();
}
public String getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createScanner();
}
}
public void hasNext(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
hasNext_call method_call = new hasNext_call(scanner, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class hasNext_call extends org.apache.thrift.async.TAsyncMethodCall {
private String scanner;
public hasNext_call(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.scanner = scanner;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("hasNext", org.apache.thrift.protocol.TMessageType.CALL, 0));
hasNext_args args = new hasNext_args();
args.setScanner(scanner);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws UnknownScanner, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_hasNext();
}
}
public void nextEntry(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
nextEntry_call method_call = new nextEntry_call(scanner, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class nextEntry_call extends org.apache.thrift.async.TAsyncMethodCall {
private String scanner;
public nextEntry_call(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.scanner = scanner;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("nextEntry", org.apache.thrift.protocol.TMessageType.CALL, 0));
nextEntry_args args = new nextEntry_args();
args.setScanner(scanner);
args.write(prot);
prot.writeMessageEnd();
}
public KeyValueAndPeek getResult() throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_nextEntry();
}
}
public void nextK(String scanner, int k, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
nextK_call method_call = new nextK_call(scanner, k, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class nextK_call extends org.apache.thrift.async.TAsyncMethodCall {
private String scanner;
private int k;
public nextK_call(String scanner, int k, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.scanner = scanner;
this.k = k;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("nextK", org.apache.thrift.protocol.TMessageType.CALL, 0));
nextK_args args = new nextK_args();
args.setScanner(scanner);
args.setK(k);
args.write(prot);
prot.writeMessageEnd();
}
public ScanResult getResult() throws NoMoreEntriesException, UnknownScanner, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_nextK();
}
}
public void closeScanner(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
closeScanner_call method_call = new closeScanner_call(scanner, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class closeScanner_call extends org.apache.thrift.async.TAsyncMethodCall {
private String scanner;
public closeScanner_call(String scanner, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.scanner = scanner;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeScanner", org.apache.thrift.protocol.TMessageType.CALL, 0));
closeScanner_args args = new closeScanner_args();
args.setScanner(scanner);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws UnknownScanner, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_closeScanner();
}
}
public void updateAndFlush(ByteBuffer login, String tableName, Map> cells, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateAndFlush_call method_call = new updateAndFlush_call(login, tableName, cells, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateAndFlush_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private Map> cells;
public updateAndFlush_call(ByteBuffer login, String tableName, Map> cells, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.cells = cells;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateAndFlush", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateAndFlush_args args = new updateAndFlush_args();
args.setLogin(login);
args.setTableName(tableName);
args.setCells(cells);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, MutationsRejectedException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_updateAndFlush();
}
}
public void createWriter(ByteBuffer login, String tableName, WriterOptions opts, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createWriter_call method_call = new createWriter_call(login, tableName, opts, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createWriter_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private WriterOptions opts;
public createWriter_call(ByteBuffer login, String tableName, WriterOptions opts, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.opts = opts;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createWriter", org.apache.thrift.protocol.TMessageType.CALL, 0));
createWriter_args args = new createWriter_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOpts(opts);
args.write(prot);
prot.writeMessageEnd();
}
public String getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createWriter();
}
}
public void update(String writer, Map> cells, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
update_call method_call = new update_call(writer, cells, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class update_call extends org.apache.thrift.async.TAsyncMethodCall {
private String writer;
private Map> cells;
public update_call(String writer, Map> cells, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, true);
this.writer = writer;
this.cells = cells;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("update", org.apache.thrift.protocol.TMessageType.CALL, 0));
update_args args = new update_args();
args.setWriter(writer);
args.setCells(cells);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
}
}
public void flush(String writer, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
flush_call method_call = new flush_call(writer, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class flush_call extends org.apache.thrift.async.TAsyncMethodCall {
private String writer;
public flush_call(String writer, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.writer = writer;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flush", org.apache.thrift.protocol.TMessageType.CALL, 0));
flush_args args = new flush_args();
args.setWriter(writer);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_flush();
}
}
public void closeWriter(String writer, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
closeWriter_call method_call = new closeWriter_call(writer, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class closeWriter_call extends org.apache.thrift.async.TAsyncMethodCall {
private String writer;
public closeWriter_call(String writer, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.writer = writer;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeWriter", org.apache.thrift.protocol.TMessageType.CALL, 0));
closeWriter_args args = new closeWriter_args();
args.setWriter(writer);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws UnknownWriter, MutationsRejectedException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_closeWriter();
}
}
public void updateRowConditionally(ByteBuffer login, String tableName, ByteBuffer row, ConditionalUpdates updates, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateRowConditionally_call method_call = new updateRowConditionally_call(login, tableName, row, updates, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateRowConditionally_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ByteBuffer row;
private ConditionalUpdates updates;
public updateRowConditionally_call(ByteBuffer login, String tableName, ByteBuffer row, ConditionalUpdates updates, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.row = row;
this.updates = updates;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateRowConditionally", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateRowConditionally_args args = new updateRowConditionally_args();
args.setLogin(login);
args.setTableName(tableName);
args.setRow(row);
args.setUpdates(updates);
args.write(prot);
prot.writeMessageEnd();
}
public ConditionalStatus getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_updateRowConditionally();
}
}
public void createConditionalWriter(ByteBuffer login, String tableName, ConditionalWriterOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
createConditionalWriter_call method_call = new createConditionalWriter_call(login, tableName, options, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class createConditionalWriter_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer login;
private String tableName;
private ConditionalWriterOptions options;
public createConditionalWriter_call(ByteBuffer login, String tableName, ConditionalWriterOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.login = login;
this.tableName = tableName;
this.options = options;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createConditionalWriter", org.apache.thrift.protocol.TMessageType.CALL, 0));
createConditionalWriter_args args = new createConditionalWriter_args();
args.setLogin(login);
args.setTableName(tableName);
args.setOptions(options);
args.write(prot);
prot.writeMessageEnd();
}
public String getResult() throws AccumuloException, AccumuloSecurityException, TableNotFoundException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_createConditionalWriter();
}
}
public void updateRowsConditionally(String conditionalWriter, Map updates, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateRowsConditionally_call method_call = new updateRowsConditionally_call(conditionalWriter, updates, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class updateRowsConditionally_call extends org.apache.thrift.async.TAsyncMethodCall {
private String conditionalWriter;
private Map updates;
public updateRowsConditionally_call(String conditionalWriter, Map updates, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.conditionalWriter = conditionalWriter;
this.updates = updates;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateRowsConditionally", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateRowsConditionally_args args = new updateRowsConditionally_args();
args.setConditionalWriter(conditionalWriter);
args.setUpdates(updates);
args.write(prot);
prot.writeMessageEnd();
}
public Map getResult() throws UnknownWriter, AccumuloException, AccumuloSecurityException, org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_updateRowsConditionally();
}
}
public void closeConditionalWriter(String conditionalWriter, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
closeConditionalWriter_call method_call = new closeConditionalWriter_call(conditionalWriter, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class closeConditionalWriter_call extends org.apache.thrift.async.TAsyncMethodCall {
private String conditionalWriter;
public closeConditionalWriter_call(String conditionalWriter, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.conditionalWriter = conditionalWriter;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("closeConditionalWriter", org.apache.thrift.protocol.TMessageType.CALL, 0));
closeConditionalWriter_args args = new closeConditionalWriter_args();
args.setConditionalWriter(conditionalWriter);
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
(new Client(prot)).recv_closeConditionalWriter();
}
}
public void getRowRange(ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getRowRange_call method_call = new getRowRange_call(row, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getRowRange_call extends org.apache.thrift.async.TAsyncMethodCall {
private ByteBuffer row;
public getRowRange_call(ByteBuffer row, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.row = row;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getRowRange", org.apache.thrift.protocol.TMessageType.CALL, 0));
getRowRange_args args = new getRowRange_args();
args.setRow(row);
args.write(prot);
prot.writeMessageEnd();
}
public Range getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getRowRange();
}
}
public void getFollowing(Key key, PartialKey part, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getFollowing_call method_call = new getFollowing_call(key, part, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class getFollowing_call extends org.apache.thrift.async.TAsyncMethodCall {
private Key key;
private PartialKey part;
public getFollowing_call(Key key, PartialKey part, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.key = key;
this.part = part;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getFollowing", org.apache.thrift.protocol.TMessageType.CALL, 0));
getFollowing_args args = new getFollowing_args();
args.setKey(key);
args.setPart(part);
args.write(prot);
prot.writeMessageEnd();
}
public Key getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_getFollowing();
}
}
}
public static class Processor extends org.apache.thrift.TBaseProcessor implements org.apache.thrift.TProcessor {
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
public Processor(I iface) {
super(iface, getProcessMap(new HashMap>()));
}
protected Processor(I iface, Map> processMap) {
super(iface, getProcessMap(processMap));
}
private static Map> getProcessMap(Map> processMap) {
processMap.put("login", new login());
processMap.put("addConstraint", new addConstraint());
processMap.put("addSplits", new addSplits());
processMap.put("attachIterator", new attachIterator());
processMap.put("checkIteratorConflicts", new checkIteratorConflicts());
processMap.put("clearLocatorCache", new clearLocatorCache());
processMap.put("cloneTable", new cloneTable());
processMap.put("compactTable", new compactTable());
processMap.put("cancelCompaction", new cancelCompaction());
processMap.put("createTable", new createTable());
processMap.put("deleteTable", new deleteTable());
processMap.put("deleteRows", new deleteRows());
processMap.put("exportTable", new exportTable());
processMap.put("flushTable", new flushTable());
processMap.put("getDiskUsage", new getDiskUsage());
processMap.put("getLocalityGroups", new getLocalityGroups());
processMap.put("getIteratorSetting", new getIteratorSetting());
processMap.put("getMaxRow", new getMaxRow());
processMap.put("getTableProperties", new getTableProperties());
processMap.put("importDirectory", new importDirectory());
processMap.put("importTable", new importTable());
processMap.put("listSplits", new listSplits());
processMap.put("listTables", new listTables());
processMap.put("listIterators", new listIterators());
processMap.put("listConstraints", new listConstraints());
processMap.put("mergeTablets", new mergeTablets());
processMap.put("offlineTable", new offlineTable());
processMap.put("onlineTable", new onlineTable());
processMap.put("removeConstraint", new removeConstraint());
processMap.put("removeIterator", new removeIterator());
processMap.put("removeTableProperty", new removeTableProperty());
processMap.put("renameTable", new renameTable());
processMap.put("setLocalityGroups", new setLocalityGroups());
processMap.put("setTableProperty", new setTableProperty());
processMap.put("splitRangeByTablets", new splitRangeByTablets());
processMap.put("tableExists", new tableExists());
processMap.put("tableIdMap", new tableIdMap());
processMap.put("testTableClassLoad", new testTableClassLoad());
processMap.put("pingTabletServer", new pingTabletServer());
processMap.put("getActiveScans", new getActiveScans());
processMap.put("getActiveCompactions", new getActiveCompactions());
processMap.put("getSiteConfiguration", new getSiteConfiguration());
processMap.put("getSystemConfiguration", new getSystemConfiguration());
processMap.put("getTabletServers", new getTabletServers());
processMap.put("removeProperty", new removeProperty());
processMap.put("setProperty", new setProperty());
processMap.put("testClassLoad", new testClassLoad());
processMap.put("authenticateUser", new authenticateUser());
processMap.put("changeUserAuthorizations", new changeUserAuthorizations());
processMap.put("changeLocalUserPassword", new changeLocalUserPassword());
processMap.put("createLocalUser", new createLocalUser());
processMap.put("dropLocalUser", new dropLocalUser());
processMap.put("getUserAuthorizations", new getUserAuthorizations());
processMap.put("grantSystemPermission", new grantSystemPermission());
processMap.put("grantTablePermission", new grantTablePermission());
processMap.put("hasSystemPermission", new hasSystemPermission());
processMap.put("hasTablePermission", new hasTablePermission());
processMap.put("listLocalUsers", new listLocalUsers());
processMap.put("revokeSystemPermission", new revokeSystemPermission());
processMap.put("revokeTablePermission", new revokeTablePermission());
processMap.put("createBatchScanner", new createBatchScanner());
processMap.put("createScanner", new createScanner());
processMap.put("hasNext", new hasNext());
processMap.put("nextEntry", new nextEntry());
processMap.put("nextK", new nextK());
processMap.put("closeScanner", new closeScanner());
processMap.put("updateAndFlush", new updateAndFlush());
processMap.put("createWriter", new createWriter());
processMap.put("update", new update());
processMap.put("flush", new flush());
processMap.put("closeWriter", new closeWriter());
processMap.put("updateRowConditionally", new updateRowConditionally());
processMap.put("createConditionalWriter", new createConditionalWriter());
processMap.put("updateRowsConditionally", new updateRowsConditionally());
processMap.put("closeConditionalWriter", new closeConditionalWriter());
processMap.put("getRowRange", new getRowRange());
processMap.put("getFollowing", new getFollowing());
return processMap;
}
public static class login extends org.apache.thrift.ProcessFunction {
public login() {
super("login");
}
public login_args getEmptyArgsInstance() {
return new login_args();
}
protected boolean isOneway() {
return false;
}
public login_result getResult(I iface, login_args args) throws org.apache.thrift.TException {
login_result result = new login_result();
try {
result.success = iface.login(args.principal, args.loginProperties);
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
}
return result;
}
}
public static class addConstraint extends org.apache.thrift.ProcessFunction {
public addConstraint() {
super("addConstraint");
}
public addConstraint_args getEmptyArgsInstance() {
return new addConstraint_args();
}
protected boolean isOneway() {
return false;
}
public addConstraint_result getResult(I iface, addConstraint_args args) throws org.apache.thrift.TException {
addConstraint_result result = new addConstraint_result();
try {
result.success = iface.addConstraint(args.login, args.tableName, args.constraintClassName);
result.setSuccessIsSet(true);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class addSplits extends org.apache.thrift.ProcessFunction {
public addSplits() {
super("addSplits");
}
public addSplits_args getEmptyArgsInstance() {
return new addSplits_args();
}
protected boolean isOneway() {
return false;
}
public addSplits_result getResult(I iface, addSplits_args args) throws org.apache.thrift.TException {
addSplits_result result = new addSplits_result();
try {
iface.addSplits(args.login, args.tableName, args.splits);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class attachIterator extends org.apache.thrift.ProcessFunction {
public attachIterator() {
super("attachIterator");
}
public attachIterator_args getEmptyArgsInstance() {
return new attachIterator_args();
}
protected boolean isOneway() {
return false;
}
public attachIterator_result getResult(I iface, attachIterator_args args) throws org.apache.thrift.TException {
attachIterator_result result = new attachIterator_result();
try {
iface.attachIterator(args.login, args.tableName, args.setting, args.scopes);
} catch (AccumuloSecurityException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class checkIteratorConflicts extends org.apache.thrift.ProcessFunction {
public checkIteratorConflicts() {
super("checkIteratorConflicts");
}
public checkIteratorConflicts_args getEmptyArgsInstance() {
return new checkIteratorConflicts_args();
}
protected boolean isOneway() {
return false;
}
public checkIteratorConflicts_result getResult(I iface, checkIteratorConflicts_args args) throws org.apache.thrift.TException {
checkIteratorConflicts_result result = new checkIteratorConflicts_result();
try {
iface.checkIteratorConflicts(args.login, args.tableName, args.setting, args.scopes);
} catch (AccumuloSecurityException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class clearLocatorCache extends org.apache.thrift.ProcessFunction {
public clearLocatorCache() {
super("clearLocatorCache");
}
public clearLocatorCache_args getEmptyArgsInstance() {
return new clearLocatorCache_args();
}
protected boolean isOneway() {
return false;
}
public clearLocatorCache_result getResult(I iface, clearLocatorCache_args args) throws org.apache.thrift.TException {
clearLocatorCache_result result = new clearLocatorCache_result();
try {
iface.clearLocatorCache(args.login, args.tableName);
} catch (TableNotFoundException ouch1) {
result.ouch1 = ouch1;
}
return result;
}
}
public static class cloneTable extends org.apache.thrift.ProcessFunction {
public cloneTable() {
super("cloneTable");
}
public cloneTable_args getEmptyArgsInstance() {
return new cloneTable_args();
}
protected boolean isOneway() {
return false;
}
public cloneTable_result getResult(I iface, cloneTable_args args) throws org.apache.thrift.TException {
cloneTable_result result = new cloneTable_result();
try {
iface.cloneTable(args.login, args.tableName, args.newTableName, args.flush, args.propertiesToSet, args.propertiesToExclude);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
} catch (TableExistsException ouch4) {
result.ouch4 = ouch4;
}
return result;
}
}
public static class compactTable extends org.apache.thrift.ProcessFunction {
public compactTable() {
super("compactTable");
}
public compactTable_args getEmptyArgsInstance() {
return new compactTable_args();
}
protected boolean isOneway() {
return false;
}
public compactTable_result getResult(I iface, compactTable_args args) throws org.apache.thrift.TException {
compactTable_result result = new compactTable_result();
try {
iface.compactTable(args.login, args.tableName, args.startRow, args.endRow, args.iterators, args.flush, args.wait, args.compactionStrategy);
} catch (AccumuloSecurityException ouch1) {
result.ouch1 = ouch1;
} catch (TableNotFoundException ouch2) {
result.ouch2 = ouch2;
} catch (AccumuloException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class cancelCompaction extends org.apache.thrift.ProcessFunction {
public cancelCompaction() {
super("cancelCompaction");
}
public cancelCompaction_args getEmptyArgsInstance() {
return new cancelCompaction_args();
}
protected boolean isOneway() {
return false;
}
public cancelCompaction_result getResult(I iface, cancelCompaction_args args) throws org.apache.thrift.TException {
cancelCompaction_result result = new cancelCompaction_result();
try {
iface.cancelCompaction(args.login, args.tableName);
} catch (AccumuloSecurityException ouch1) {
result.ouch1 = ouch1;
} catch (TableNotFoundException ouch2) {
result.ouch2 = ouch2;
} catch (AccumuloException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class createTable extends org.apache.thrift.ProcessFunction {
public createTable() {
super("createTable");
}
public createTable_args getEmptyArgsInstance() {
return new createTable_args();
}
protected boolean isOneway() {
return false;
}
public createTable_result getResult(I iface, createTable_args args) throws org.apache.thrift.TException {
createTable_result result = new createTable_result();
try {
iface.createTable(args.login, args.tableName, args.versioningIter, args.type);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableExistsException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class deleteTable extends org.apache.thrift.ProcessFunction {
public deleteTable() {
super("deleteTable");
}
public deleteTable_args getEmptyArgsInstance() {
return new deleteTable_args();
}
protected boolean isOneway() {
return false;
}
public deleteTable_result getResult(I iface, deleteTable_args args) throws org.apache.thrift.TException {
deleteTable_result result = new deleteTable_result();
try {
iface.deleteTable(args.login, args.tableName);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class deleteRows extends org.apache.thrift.ProcessFunction {
public deleteRows() {
super("deleteRows");
}
public deleteRows_args getEmptyArgsInstance() {
return new deleteRows_args();
}
protected boolean isOneway() {
return false;
}
public deleteRows_result getResult(I iface, deleteRows_args args) throws org.apache.thrift.TException {
deleteRows_result result = new deleteRows_result();
try {
iface.deleteRows(args.login, args.tableName, args.startRow, args.endRow);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class exportTable extends org.apache.thrift.ProcessFunction {
public exportTable() {
super("exportTable");
}
public exportTable_args getEmptyArgsInstance() {
return new exportTable_args();
}
protected boolean isOneway() {
return false;
}
public exportTable_result getResult(I iface, exportTable_args args) throws org.apache.thrift.TException {
exportTable_result result = new exportTable_result();
try {
iface.exportTable(args.login, args.tableName, args.exportDir);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class flushTable extends org.apache.thrift.ProcessFunction {
public flushTable() {
super("flushTable");
}
public flushTable_args getEmptyArgsInstance() {
return new flushTable_args();
}
protected boolean isOneway() {
return false;
}
public flushTable_result getResult(I iface, flushTable_args args) throws org.apache.thrift.TException {
flushTable_result result = new flushTable_result();
try {
iface.flushTable(args.login, args.tableName, args.startRow, args.endRow, args.wait);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class getDiskUsage extends org.apache.thrift.ProcessFunction {
public getDiskUsage() {
super("getDiskUsage");
}
public getDiskUsage_args getEmptyArgsInstance() {
return new getDiskUsage_args();
}
protected boolean isOneway() {
return false;
}
public getDiskUsage_result getResult(I iface, getDiskUsage_args args) throws org.apache.thrift.TException {
getDiskUsage_result result = new getDiskUsage_result();
try {
result.success = iface.getDiskUsage(args.login, args.tables);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class getLocalityGroups extends org.apache.thrift.ProcessFunction {
public getLocalityGroups() {
super("getLocalityGroups");
}
public getLocalityGroups_args getEmptyArgsInstance() {
return new getLocalityGroups_args();
}
protected boolean isOneway() {
return false;
}
public getLocalityGroups_result getResult(I iface, getLocalityGroups_args args) throws org.apache.thrift.TException {
getLocalityGroups_result result = new getLocalityGroups_result();
try {
result.success = iface.getLocalityGroups(args.login, args.tableName);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class getIteratorSetting extends org.apache.thrift.ProcessFunction {
public getIteratorSetting() {
super("getIteratorSetting");
}
public getIteratorSetting_args getEmptyArgsInstance() {
return new getIteratorSetting_args();
}
protected boolean isOneway() {
return false;
}
public getIteratorSetting_result getResult(I iface, getIteratorSetting_args args) throws org.apache.thrift.TException {
getIteratorSetting_result result = new getIteratorSetting_result();
try {
result.success = iface.getIteratorSetting(args.login, args.tableName, args.iteratorName, args.scope);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class getMaxRow extends org.apache.thrift.ProcessFunction {
public getMaxRow() {
super("getMaxRow");
}
public getMaxRow_args getEmptyArgsInstance() {
return new getMaxRow_args();
}
protected boolean isOneway() {
return false;
}
public getMaxRow_result getResult(I iface, getMaxRow_args args) throws org.apache.thrift.TException {
getMaxRow_result result = new getMaxRow_result();
try {
result.success = iface.getMaxRow(args.login, args.tableName, args.auths, args.startRow, args.startInclusive, args.endRow, args.endInclusive);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class getTableProperties extends org.apache.thrift.ProcessFunction {
public getTableProperties() {
super("getTableProperties");
}
public getTableProperties_args getEmptyArgsInstance() {
return new getTableProperties_args();
}
protected boolean isOneway() {
return false;
}
public getTableProperties_result getResult(I iface, getTableProperties_args args) throws org.apache.thrift.TException {
getTableProperties_result result = new getTableProperties_result();
try {
result.success = iface.getTableProperties(args.login, args.tableName);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class importDirectory extends org.apache.thrift.ProcessFunction {
public importDirectory() {
super("importDirectory");
}
public importDirectory_args getEmptyArgsInstance() {
return new importDirectory_args();
}
protected boolean isOneway() {
return false;
}
public importDirectory_result getResult(I iface, importDirectory_args args) throws org.apache.thrift.TException {
importDirectory_result result = new importDirectory_result();
try {
iface.importDirectory(args.login, args.tableName, args.importDir, args.failureDir, args.setTime);
} catch (TableNotFoundException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloException ouch3) {
result.ouch3 = ouch3;
} catch (AccumuloSecurityException ouch4) {
result.ouch4 = ouch4;
}
return result;
}
}
public static class importTable extends org.apache.thrift.ProcessFunction {
public importTable() {
super("importTable");
}
public importTable_args getEmptyArgsInstance() {
return new importTable_args();
}
protected boolean isOneway() {
return false;
}
public importTable_result getResult(I iface, importTable_args args) throws org.apache.thrift.TException {
importTable_result result = new importTable_result();
try {
iface.importTable(args.login, args.tableName, args.importDir);
} catch (TableExistsException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloException ouch2) {
result.ouch2 = ouch2;
} catch (AccumuloSecurityException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class listSplits extends org.apache.thrift.ProcessFunction {
public listSplits() {
super("listSplits");
}
public listSplits_args getEmptyArgsInstance() {
return new listSplits_args();
}
protected boolean isOneway() {
return false;
}
public listSplits_result getResult(I iface, listSplits_args args) throws org.apache.thrift.TException {
listSplits_result result = new listSplits_result();
try {
result.success = iface.listSplits(args.login, args.tableName, args.maxSplits);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class listTables extends org.apache.thrift.ProcessFunction {
public listTables() {
super("listTables");
}
public listTables_args getEmptyArgsInstance() {
return new listTables_args();
}
protected boolean isOneway() {
return false;
}
public listTables_result getResult(I iface, listTables_args args) throws org.apache.thrift.TException {
listTables_result result = new listTables_result();
result.success = iface.listTables(args.login);
return result;
}
}
public static class listIterators extends org.apache.thrift.ProcessFunction {
public listIterators() {
super("listIterators");
}
public listIterators_args getEmptyArgsInstance() {
return new listIterators_args();
}
protected boolean isOneway() {
return false;
}
public listIterators_result getResult(I iface, listIterators_args args) throws org.apache.thrift.TException {
listIterators_result result = new listIterators_result();
try {
result.success = iface.listIterators(args.login, args.tableName);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class listConstraints extends org.apache.thrift.ProcessFunction {
public listConstraints() {
super("listConstraints");
}
public listConstraints_args getEmptyArgsInstance() {
return new listConstraints_args();
}
protected boolean isOneway() {
return false;
}
public listConstraints_result getResult(I iface, listConstraints_args args) throws org.apache.thrift.TException {
listConstraints_result result = new listConstraints_result();
try {
result.success = iface.listConstraints(args.login, args.tableName);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class mergeTablets extends org.apache.thrift.ProcessFunction {
public mergeTablets() {
super("mergeTablets");
}
public mergeTablets_args getEmptyArgsInstance() {
return new mergeTablets_args();
}
protected boolean isOneway() {
return false;
}
public mergeTablets_result getResult(I iface, mergeTablets_args args) throws org.apache.thrift.TException {
mergeTablets_result result = new mergeTablets_result();
try {
iface.mergeTablets(args.login, args.tableName, args.startRow, args.endRow);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class offlineTable extends org.apache.thrift.ProcessFunction {
public offlineTable() {
super("offlineTable");
}
public offlineTable_args getEmptyArgsInstance() {
return new offlineTable_args();
}
protected boolean isOneway() {
return false;
}
public offlineTable_result getResult(I iface, offlineTable_args args) throws org.apache.thrift.TException {
offlineTable_result result = new offlineTable_result();
try {
iface.offlineTable(args.login, args.tableName, args.wait);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class onlineTable extends org.apache.thrift.ProcessFunction {
public onlineTable() {
super("onlineTable");
}
public onlineTable_args getEmptyArgsInstance() {
return new onlineTable_args();
}
protected boolean isOneway() {
return false;
}
public onlineTable_result getResult(I iface, onlineTable_args args) throws org.apache.thrift.TException {
onlineTable_result result = new onlineTable_result();
try {
iface.onlineTable(args.login, args.tableName, args.wait);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class removeConstraint extends org.apache.thrift.ProcessFunction {
public removeConstraint() {
super("removeConstraint");
}
public removeConstraint_args getEmptyArgsInstance() {
return new removeConstraint_args();
}
protected boolean isOneway() {
return false;
}
public removeConstraint_result getResult(I iface, removeConstraint_args args) throws org.apache.thrift.TException {
removeConstraint_result result = new removeConstraint_result();
try {
iface.removeConstraint(args.login, args.tableName, args.constraint);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class removeIterator extends org.apache.thrift.ProcessFunction {
public removeIterator() {
super("removeIterator");
}
public removeIterator_args getEmptyArgsInstance() {
return new removeIterator_args();
}
protected boolean isOneway() {
return false;
}
public removeIterator_result getResult(I iface, removeIterator_args args) throws org.apache.thrift.TException {
removeIterator_result result = new removeIterator_result();
try {
iface.removeIterator(args.login, args.tableName, args.iterName, args.scopes);
} catch (AccumuloException ouch1) {
result.ouch1 = ouch1;
} catch (AccumuloSecurityException ouch2) {
result.ouch2 = ouch2;
} catch (TableNotFoundException ouch3) {
result.ouch3 = ouch3;
}
return result;
}
}
public static class removeTableProperty extends org.apache.thrift.ProcessFunction