Class OQueryRequest
java.lang.Object
com.orientechnologies.orient.client.remote.message.OQueryRequest
- All Implemented Interfaces:
OBinaryRequest<OQueryResponse>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOQueryRequest(String language, String iCommand, Object[] positionalParams, byte operationType, ORecordSerializer serializer, int recordsPerPage) OQueryRequest(String language, String iCommand, Map<String, Object> namedParams, byte operationType, ORecordSerializer serializer, int recordsPerPage) -
Method Summary
Modifier and TypeMethodDescriptionexecute(OBinaryRequestExecutor executor) bytebyteObject[]intbooleanvoidread(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) voidsetLanguage(String language) voidwrite(OChannelDataOutput network, OStorageRemoteSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.client.remote.OBinaryRequest
requireDatabaseSession, requiredServerRole, requireServerUser
-
Field Details
-
COMMAND
public static byte COMMAND -
QUERY
public static byte QUERY -
EXECUTE
public static byte EXECUTE
-
-
Constructor Details
-
OQueryRequest
public OQueryRequest(String language, String iCommand, Object[] positionalParams, byte operationType, ORecordSerializer serializer, int recordsPerPage) -
OQueryRequest
-
OQueryRequest
public OQueryRequest()
-
-
Method Details
-
write
- Specified by:
writein interfaceOBinaryRequest<OQueryResponse>- Throws:
IOException
-
read
public void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
readin interfaceOBinaryRequest<OQueryResponse>- Throws:
IOException
-
getCommand
public byte getCommand()- Specified by:
getCommandin interfaceOBinaryRequest<OQueryResponse>
-
getDescription
- Specified by:
getDescriptionin interfaceOBinaryRequest<OQueryResponse>
-
createResponse
- Specified by:
createResponsein interfaceOBinaryRequest<OQueryResponse>
-
execute
- Specified by:
executein interfaceOBinaryRequest<OQueryResponse>
-
getStatement
-
getParams
-
getOperationType
public byte getOperationType() -
isNamedParams
public boolean isNamedParams() -
getNamedParameters
-
getPositionalParameters
-
getRecordsPerPage
public int getRecordsPerPage() -
getSerializer
-
getLanguage
-
setLanguage
-