public class VisorQueryIndexField extends VisorDataTransferObject
QueryEntity.V1, V2| Constructor and Description |
|---|
VisorQueryIndexField()
Create data transfer object for given cache type metadata.
|
VisorQueryIndexField(String name,
boolean sort)
Create data transfer object for index field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
getSortOrder() |
static List<VisorQueryIndexField> |
list(QueryIndex idx) |
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.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorQueryIndexField()
public VisorQueryIndexField(String name, boolean sort)
name - Index field name.sort - Index field sort order.public static List<VisorQueryIndexField> list(QueryIndex idx)
idx - Query entity index.public String getName()
public boolean getSortOrder()
protected 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.1.0 Release Date : July 20 2017