public class Data
extends java.lang.Object
Constructor and Description |
---|
Data() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
copyTo(Data dst)
Returns the value as a double.
|
boolean |
equals(java.lang.Object o)
Returns the equality test.
|
java.io.InputStream |
getBinaryStream() |
int |
getBoolean()
Returns the value as a boolean
|
byte[] |
getBytes() |
Column |
getColumn() |
long |
getDate()
Returns the value as a date.
|
double |
getDouble()
Returns the value as a double.
|
int |
getInt()
Returns the value as an integer.
|
long |
getLong()
Returns the value as a long.
|
java.lang.String |
getString()
Returns the value as a string.
|
Column.ColumnType |
getType() |
int |
hashCode()
Returns a hash code
|
boolean |
isBinaryStream() |
boolean |
isNull()
Returns true for a null value.
|
void |
setBinaryStream(java.io.InputStream is,
int length)
Sets the value as a stream.
|
void |
setBoolean(boolean value)
Sets the value as a boolean.
|
void |
setBytes(byte[] bytes) |
void |
setColumn(Column column) |
void |
setDate(long value) |
void |
setDouble(double value)
Sets the value as a double.
|
void |
setInt(int value)
Sets the value as an integer.
|
void |
setLong(long value)
Sets the value as a long.
|
void |
setString(java.lang.String value)
Sets the value as a string.
|
java.lang.String |
toString() |
public void clear()
public void setColumn(Column column)
public Column getColumn()
public Column.ColumnType getType()
public boolean isNull()
public void setString(java.lang.String value)
public void setDate(long value)
public boolean isBinaryStream()
public void setBinaryStream(java.io.InputStream is, int length)
public java.io.InputStream getBinaryStream()
public void setBytes(byte[] bytes)
public byte[] getBytes()
public java.lang.String getString()
public void setBoolean(boolean value)
public int getBoolean()
public void setInt(int value)
public int getInt()
public void setLong(long value)
public long getLong()
public long getDate()
public void setDouble(double value)
public double getDouble()
public void copyTo(Data dst)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object