public class VisorQueryTaskArg extends VisorDataTransferObject
VisorQueryTask.V1, V2, V3| Constructor and Description |
|---|
VisorQueryTaskArg()
Default constructor.
|
VisorQueryTaskArg(String cacheName,
String qryTxt,
boolean distributedJoins,
boolean enforceJoinOrder,
boolean replicatedOnly,
boolean loc,
int pageSize) |
VisorQueryTaskArg(String cacheName,
String qryTxt,
boolean distributedJoins,
boolean enforceJoinOrder,
boolean replicatedOnly,
boolean loc,
int pageSize,
boolean lazy) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheName() |
boolean |
getLazy()
Lazy query execution flag.
|
int |
getPageSize() |
byte |
getProtocolVersion() |
String |
getQueryText() |
boolean |
isDistributedJoins() |
boolean |
isEnforceJoinOrder() |
boolean |
isLocal() |
boolean |
isReplicatedOnly() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
readExternal, toList, toSet, writeExternalpublic VisorQueryTaskArg()
public VisorQueryTaskArg(String cacheName, String qryTxt, boolean distributedJoins, boolean enforceJoinOrder, boolean replicatedOnly, boolean loc, int pageSize)
cacheName - Cache name for query.qryTxt - Query text.distributedJoins - If true then distributed joins enabled.enforceJoinOrder - If true then enforce join order.replicatedOnly - true then query contains only replicated tables.loc - Flag whether to execute query locally.pageSize - Result batch size.public VisorQueryTaskArg(String cacheName, String qryTxt, boolean distributedJoins, boolean enforceJoinOrder, boolean replicatedOnly, boolean loc, int pageSize, boolean lazy)
cacheName - Cache name for query.qryTxt - Query text.distributedJoins - If true then distributed joins enabled.enforceJoinOrder - If true then enforce join order.replicatedOnly - true then query contains only replicated tables.loc - Flag whether to execute query locally.pageSize - Result batch size.lazy - Lazy query execution flag.public String getCacheName()
public String getQueryText()
public boolean isDistributedJoins()
public boolean isEnforceJoinOrder()
public boolean isReplicatedOnly()
true If the query contains only replicated tables.public boolean isLocal()
true If query should be executed locally.public int getPageSize()
public boolean getLazy()
public byte getProtocolVersion()
getProtocolVersion in class VisorDataTransferObjectprotected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018