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