com.gigaspaces.query
Class CompoundResult
java.lang.Object
com.gigaspaces.query.CompoundResult
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable
- Direct Known Subclasses:
- GroupByKey, GroupByValue
public abstract class CompoundResult
- extends Object
- implements Externalizable, Cloneable
- Since:
- 10.0
- Author:
- Niv Ingberg
- See Also:
- Serialized Form
values
protected Object[] values
nameIndexMap
protected Map<String,Integer> nameIndexMap
hashCode
protected transient int hashCode
CompoundResult
public CompoundResult()
- Required for Externalizable
CompoundResult
public CompoundResult(Object[] values,
Map<String,Integer> nameIndexMap)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
printValues
protected void printValues(StringBuilder sb,
String prefix,
String suffix)
clone
public CompoundResult clone()
- Overrides:
clone
in class Object
indexOf
protected int indexOf(String name)
size
public int size()
get
public Object get(int index)
set
public void set(int index,
Object value)
get
public Object get(String name)
getBoolean
public Boolean getBoolean(int index)
getBoolean
public Boolean getBoolean(String name)
getByte
public Byte getByte(int index)
getByte
public Byte getByte(String name)
getShort
public Short getShort(int index)
getShort
public Short getShort(String name)
getInt
public Integer getInt(int index)
getInt
public Integer getInt(String name)
getLong
public Long getLong(int index)
getLong
public Long getLong(String name)
getFloat
public Float getFloat(int index)
getFloat
public Float getFloat(String name)
getDouble
public Double getDouble(int index)
getDouble
public Double getDouble(String name)
getString
public String getString(int index)
getString
public String getString(String name)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © GigaSpaces.