public interface BagConnector extends RemoteConnector
Modifier and Type | Method and Description |
---|---|
Bag |
createBag(RemotingContext context,
String instance,
Bag bag) |
IndexDefinition |
createIndex(RemotingContext context,
String instance,
String bag,
IndexDefinition definition,
boolean isUnique) |
boolean |
flushBag(RemotingContext context,
String instance,
String bagName) |
RemoteBag |
getBag(RemotingContext context,
String instance,
String bag) |
List<RemoteBag> |
getBags(RemotingContext context,
String instance) |
List<IndexDefinition> |
getIndexDefinitions(RemotingContext context,
String instance,
String bag) |
boolean |
removeBag(RemotingContext context,
String instance,
String bagName) |
boolean |
removeIndex(RemotingContext context,
String instance,
String bag,
String indexName) |
close
RemoteBag getBag(RemotingContext context, String instance, String bag) throws RemoteException
RemoteException
List<RemoteBag> getBags(RemotingContext context, String instance) throws RemoteException
RemoteException
Bag createBag(RemotingContext context, String instance, Bag bag) throws RemoteException
RemoteException
boolean removeBag(RemotingContext context, String instance, String bagName) throws RemoteException
RemoteException
boolean flushBag(RemotingContext context, String instance, String bagName) throws RemoteException
RemoteException
List<IndexDefinition> getIndexDefinitions(RemotingContext context, String instance, String bag) throws RemoteException
RemoteException
IndexDefinition createIndex(RemotingContext context, String instance, String bag, IndexDefinition definition, boolean isUnique) throws RemoteException
RemoteException
boolean removeIndex(RemotingContext context, String instance, String bag, String indexName) throws RemoteException
RemoteException
Copyright © 2015. All rights reserved.