Class CheckIndexInlineSizesResult
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.commandline.cache.check_indexes_inline_size.CheckIndexInlineSizesResult
-
- All Implemented Interfaces:
Externalizable,Serializable
@GridInternal public class CheckIndexInlineSizesResult extends IgniteDataTransferObject
Represents information about secondary indexes inline size from the cluster nodes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CheckIndexInlineSizesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddResult(UUID nodeId, Map<String,Integer> indexNameToInlineSize)Adds to result information about indexes from node.Map<UUID,Map<String,Integer>>inlineSizes()voidmerge(CheckIndexInlineSizesResult res)Merge current result with given instance.protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.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
-
-
-
-
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.
-
addResult
public void addResult(UUID nodeId, Map<String,Integer> indexNameToInlineSize)
Adds to result information about indexes from node.- Parameters:
nodeId- Node id.indexNameToInlineSize- Information about secondary indexes inline size.
-
merge
public void merge(CheckIndexInlineSizesResult res)
Merge current result with given instance.- Parameters:
res- Given result instance.
-
-