public class VisorQueryIndexField extends VisorDataTransferObject
QueryEntity
.Constructor and Description |
---|
VisorQueryIndexField()
Create data transfer object for given cache type metadata.
|
VisorQueryIndexField(String fldName,
boolean fldSort)
Create data transfer object for given cache type metadata.
|
Modifier and Type | Method and Description |
---|---|
String |
getFieldName() |
boolean |
isFieldSort() |
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, writeExternal
public VisorQueryIndexField()
public VisorQueryIndexField(String fldName, boolean fldSort)
fldName
- Index field name.fldSort
- Index field sort order.public static List<VisorQueryIndexField> list(QueryIndex idx)
idx
- Query entity index.public String getFieldName()
public boolean isFieldSort()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- 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 VisorDataTransferObject
protoVer
- 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.0.0 Release Date : April 30 2017