Class ArrayOfStringsSummary
- java.lang.Object
-
- org.apache.datasketches.tuple.strings.ArrayOfStringsSummary
-
- All Implemented Interfaces:
Summary,UpdatableSummary<String[]>
public final class ArrayOfStringsSummary extends Object implements UpdatableSummary<String[]>
- Author:
- Lee Rhodes
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayOfStringsSummarycopy()Deep copy.booleanequals(Object summary)String[]getValue()inthashCode()byte[]toByteArray()This is to serialize a Summary instance to a byte array.ArrayOfStringsSummaryupdate(String[] value)This is to provide a method of updating summaries.
-
-
-
Method Detail
-
copy
public ArrayOfStringsSummary copy()
Description copied from interface:SummaryDeep copy.Caution: This must implement a deep copy.
-
toByteArray
public byte[] toByteArray()
Description copied from interface:SummaryThis is to serialize a Summary instance to a byte array.The user should encode in the byte array its total size, which is used during deserialization, especially if the Summary has variable sized elements.
- Specified by:
toByteArrayin interfaceSummary- Returns:
- serialized representation of the Summary
-
update
public ArrayOfStringsSummary update(String[] value)
Description copied from interface:UpdatableSummaryThis is to provide a method of updating summaries. This is primarily used internally.- Specified by:
updatein interfaceUpdatableSummary<String[]>- Parameters:
value- update value- Returns:
- this
-
getValue
public String[] getValue()
- Returns:
- the nodes array for this summary.
-
-