Class IndexListInfoContainer
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.cache.IndexListInfoContainer
-
- All Implemented Interfaces:
Externalizable,Serializable
public class IndexListInfoContainer extends IgniteDataTransferObject
Container for index info.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexListInfoContainer()Empty constructor required for Serializable.IndexListInfoContainer(GridCacheContext ctx, String idxName, Collection<String> colsNames, String tblName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcacheName()static Comparator<IndexListInfoContainer>comparator()booleanequals(Object o)StringgroupName()inthashCode()StringindexName()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.StringtableName()voidtableName(String tblName)StringtoString()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.dto.IgniteDataTransferObject
getProtocolVersion, readExternal, toList, toSet, writeExternal
-
-
-
-
Field Detail
-
EMPTY_GROUP_NAME
public static final String EMPTY_GROUP_NAME
Empty group name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexListInfoContainer
public IndexListInfoContainer()
Empty constructor required for Serializable.
-
IndexListInfoContainer
public IndexListInfoContainer(GridCacheContext ctx, String idxName, Collection<String> colsNames, String tblName)
-
-
Method Detail
-
writeExternalData
protected void writeExternalData(ObjectOutput out) throws IOException
Save object's specific data content.- Specified by:
writeExternalDatain classIgniteDataTransferObject- Parameters:
out- Output object to write data content.- Throws:
IOException- If I/O errors occur.
-
readExternalData
protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundExceptionLoad object's specific data content.- Specified by:
readExternalDatain classIgniteDataTransferObject- Parameters:
protoVer- Input object version.in- Input object to load data content.- Throws:
IOException- If I/O errors occur.ClassNotFoundException- If the class for an object being restored cannot be found.
-
tableName
public void tableName(String tblName)
- Parameters:
tblName- New table name.
-
toString
public String toString()
-
cacheName
public String cacheName()
- Returns:
- Cache name.
-
groupName
public String groupName()
- Returns:
- Group name.
-
indexName
public String indexName()
- Returns:
- Index name.
-
tableName
public String tableName()
- Returns:
- Table name.
-
comparator
public static Comparator<IndexListInfoContainer> comparator()
- Returns:
- Custom comparator.
-
-