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