
public final class OQueryRequest extends Object implements OBinaryRequest<OQueryResponse>
| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND |
static byte |
EXECUTE |
static byte |
QUERY |
| Constructor and Description |
|---|
OQueryRequest() |
OQueryRequest(String language,
String iCommand,
Map<String,Object> namedParams,
byte operationType,
ORecordSerializer serializer,
int recordsPerPage) |
OQueryRequest(String language,
String iCommand,
Object[] positionalParams,
byte operationType,
ORecordSerializer serializer,
int recordsPerPage) |
| Modifier and Type | Method and Description |
|---|---|
OQueryResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
String |
getDescription() |
String |
getLanguage() |
Map |
getNamedParameters() |
byte |
getOperationType() |
Map<String,Object> |
getParams() |
Object[] |
getPositionalParameters() |
int |
getRecordsPerPage() |
ORecordSerializer |
getSerializer() |
String |
getStatement() |
boolean |
isNamedParams() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
void |
setLanguage(String language) |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequireDatabaseSession, requiredServerRole, requireServerUserpublic static byte COMMAND
public static byte QUERY
public static byte EXECUTE
public OQueryRequest(String language, String iCommand, Object[] positionalParams, byte operationType, ORecordSerializer serializer, int recordsPerPage)
public OQueryRequest(String language, String iCommand, Map<String,Object> namedParams, byte operationType, ORecordSerializer serializer, int recordsPerPage)
public OQueryRequest()
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write in interface OBinaryRequest<OQueryResponse>IOExceptionpublic void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read in interface OBinaryRequest<OQueryResponse>IOExceptionpublic byte getCommand()
getCommand in interface OBinaryRequest<OQueryResponse>public String getDescription()
getDescription in interface OBinaryRequest<OQueryResponse>public OQueryResponse createResponse()
createResponse in interface OBinaryRequest<OQueryResponse>public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute in interface OBinaryRequest<OQueryResponse>public String getStatement()
public byte getOperationType()
public boolean isNamedParams()
public Map getNamedParameters()
public Object[] getPositionalParameters()
public int getRecordsPerPage()
public ORecordSerializer getSerializer()
public String getLanguage()
public void setLanguage(String language)
Copyright © 2009–2025 OrientDB. All rights reserved.