com.apama.correlator.memstore
Class RowValue

java.lang.Object
  extended by com.apama.correlator.memstore.RowValue
All Implemented Interfaces:
java.io.Serializable

public class RowValue
extends java.lang.Object
implements java.io.Serializable

The value of an entry/row in a distributed cache table.

This corresponds to the value of a MemoryStore Row object, i.e. the MemoryStore row object without the key.

See Also:
Serialized Form

Constructor Summary
RowValue()
           
 
Method Summary
 RowValue clone()
          Clone the values that represent this RowValue into a new RowValue
 boolean equals(java.lang.Object obj)
           
 boolean getBoolean(int i)
           
 double getFloat(int i)
           
 long getInteger(int i)
           
 java.lang.String getString(int i)
          Never returns null.
 byte[] getStringBytes(int i)
          Never returns null.
 int hashCode()
           
 void setBoolean(int i, int max, boolean v)
           
 void setFloat(int i, int max, double v)
           
 void setInteger(int i, int max, long v)
           
 void setString(int i, int max, byte[] v)
           
 void setString(int i, int max, java.lang.String v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowValue

public RowValue()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public RowValue clone()
Clone the values that represent this RowValue into a new RowValue

Overrides:
clone in class java.lang.Object
Returns:
the cloned RowValue

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getString

public final java.lang.String getString(int i)
Never returns null.


getStringBytes

public final byte[] getStringBytes(int i)
Never returns null.


setString

public final void setString(int i,
                            int max,
                            java.lang.String v)

setString

public final void setString(int i,
                            int max,
                            byte[] v)

getInteger

public final long getInteger(int i)

setInteger

public final void setInteger(int i,
                             int max,
                             long v)

getFloat

public final double getFloat(int i)

setFloat

public final void setFloat(int i,
                           int max,
                           double v)

getBoolean

public final boolean getBoolean(int i)

setBoolean

public final void setBoolean(int i,
                             int max,
                             boolean v)


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG