Class DeleteCollectionRequest
java.lang.Object
pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoRequest
pt.unl.fct.di.novasys.babel.protocols.storage.requests.common.CommonRequest
pt.unl.fct.di.novasys.babel.protocols.storage.requests.DeleteCollectionRequest
A request issued to perform the deletion of a collection in a given keySpace.
The request contains the identifiers of the collection and the respective
keySpace.
-
Nested Class Summary
Nested classes/interfaces inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoIPC
pt.unl.fct.di.novasys.babel.generic.ProtoIPC.Type -
Field Summary
FieldsFields inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.requests.common.CommonRequest
EMPTY_MSG -
Constructor Summary
ConstructorsConstructorDescriptionDeleteCollectionRequest(String keySpace, String collection) Creates a create collection request with the keySpace and the collection identifier.DeleteCollectionRequest(String keySpace, String opID, String collection) Creates a create collection request with the keySpace and the collection identifier. -
Method Summary
Methods inherited from class pt.unl.fct.di.novasys.babel.protocols.storage.requests.common.CommonRequest
getKeySpace, getOpID, hasOpIDMethods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoRequest
getIdMethods inherited from class pt.unl.fct.di.novasys.babel.generic.ProtoIPC
getType
-
Field Details
-
REQUEST_ID
public static final short REQUEST_ID- See Also:
-
-
Constructor Details
-
DeleteCollectionRequest
Creates a create collection request with the keySpace and the collection identifier.- Parameters:
keySpace- the keySpace of the collection.collection- the collection identifier.
-
DeleteCollectionRequest
Creates a create collection request with the keySpace and the collection identifier. Additionally, a operationID is passed to identify the operation that issued this request.- Parameters:
keySpace- the keySpace of the collection.opID- the unique operation identifier that issued this requestcollection- the collection identifier.
-
-
Method Details
-
getCollection
Gets the collection identifier.- Returns:
- the collection identifier.
-