public final class MapQueryRequest extends InvocationClientRequest
| Modifier and Type | Field and Description |
|---|---|
protected IterationType |
iterationType |
callId, clientEngine, endpoint, operationService, serializationService, service| Constructor and Description |
|---|
MapQueryRequest() |
MapQueryRequest(String name,
Predicate predicate,
IterationType iterationType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
String |
getMethodName()
Used for
SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client. |
Object[] |
getParameters()
Used for
SecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazily |
protected Predicate |
getPredicate() |
Permission |
getRequiredPermission() |
String |
getServiceName() |
protected void |
invoke() |
void |
read(PortableReader reader) |
protected void |
readPortableInner(PortableReader reader) |
void |
write(PortableWriter writer) |
protected void |
writePortableInner(PortableWriter writer) |
createInvocationBuilder, createInvocationBuilder, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, isSingleConnection, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, writePortableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadPortable, writePortablegetDistributedObjectTypeprotected IterationType iterationType
public MapQueryRequest()
public MapQueryRequest(String name, Predicate predicate, IterationType iterationType)
protected Predicate getPredicate()
public int getClassId()
Portableprotected void writePortableInner(PortableWriter writer) throws IOException
IOExceptionprotected void readPortableInner(PortableReader reader) throws IOException
IOExceptionpublic String getMethodName()
SecureRequestSecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client.getMethodName in interface SecureRequestgetMethodName in class ClientRequestpublic Object[] getParameters()
SecureRequestSecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazilygetParameters in interface SecureRequestgetParameters in class ClientRequestprotected final void invoke()
invoke in class InvocationClientRequestpublic final String getServiceName()
getServiceName in class ClientRequestpublic final int getFactoryId()
PortablegetFactoryId in interface Portablepublic void write(PortableWriter writer) throws IOException
write in class ClientRequestIOExceptionpublic void read(PortableReader reader) throws IOException
read in class ClientRequestIOExceptionpublic Permission getRequiredPermission()
getRequiredPermission in interface SecureRequestpublic String getDistributedObjectName()
SecureRequestSecurityInterceptorgetDistributedObjectName in interface SecureRequestgetDistributedObjectName in class ClientRequestCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.