public class IndexInfo extends Object implements IdentifiedDataSerializable, Comparable<IndexInfo>
Constructor and Description |
---|
IndexInfo() |
IndexInfo(String attributeName,
boolean ordered) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IndexInfo other) |
boolean |
equals(Object o) |
String |
getAttributeName() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
getId()
Returns type identifier for this class.
|
int |
hashCode() |
boolean |
isOrdered() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public IndexInfo()
public IndexInfo(String attributeName, boolean ordered)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public String getAttributeName()
public boolean isOrdered()
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public int compareTo(IndexInfo other)
compareTo
in interface Comparable<IndexInfo>
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.