public class ODropDatabaseRequest extends Object implements OBinaryRequest<ODropDatabaseResponse>
Constructor and Description |
---|
ODropDatabaseRequest() |
ODropDatabaseRequest(String databaseName,
String storageType) |
Modifier and Type | Method and Description |
---|---|
ODropDatabaseResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor ex) |
byte |
getCommand() |
String |
getDatabaseName() |
String |
getDescription() |
String |
getStorageType() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
boolean |
requireDatabaseSession() |
String |
requiredServerRole() |
boolean |
requireServerUser() |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write
in interface OBinaryRequest<ODropDatabaseResponse>
IOException
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read
in interface OBinaryRequest<ODropDatabaseResponse>
IOException
public String getDatabaseName()
public String getStorageType()
public boolean requireServerUser()
requireServerUser
in interface OBinaryRequest<ODropDatabaseResponse>
public boolean requireDatabaseSession()
requireDatabaseSession
in interface OBinaryRequest<ODropDatabaseResponse>
public String requiredServerRole()
requiredServerRole
in interface OBinaryRequest<ODropDatabaseResponse>
public byte getCommand()
getCommand
in interface OBinaryRequest<ODropDatabaseResponse>
public String getDescription()
getDescription
in interface OBinaryRequest<ODropDatabaseResponse>
public ODropDatabaseResponse createResponse()
createResponse
in interface OBinaryRequest<ODropDatabaseResponse>
public OBinaryResponse execute(OBinaryRequestExecutor ex)
execute
in interface OBinaryRequest<ODropDatabaseResponse>
Copyright © 2009–2020 OrientDB. All rights reserved.