public static class RecordsFileImpl.RecordImpl extends java.lang.Object implements RecordsFile.Record
| Constructor and Description |
|---|
RecordImpl(RecordsFile.RecordType type) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
getBuffer() |
int |
getByte(int n) |
byte[] |
getBytes() |
byte[] |
getBytes(int n) |
double |
getDouble(int n) |
int |
getInt(int n) |
long |
getLong(int n) |
int |
getShort(int n) |
java.lang.String |
getString(int n) |
java.sql.Timestamp |
getTimestamp(int n) |
RecordsFile.RecordType |
getType() |
void |
setByte(int n,
byte v) |
void |
setBytes(byte[] bytes) |
void |
setBytes(int n,
byte[] v) |
void |
setDouble(int n,
double v) |
void |
setInt(int n,
int v) |
void |
setLong(int n,
long v) |
void |
setShort(int n,
short v) |
void |
setString(int n,
java.lang.String v) |
void |
setTimestamp(int n,
java.sql.Timestamp v) |
public RecordImpl(RecordsFile.RecordType type)
public RecordsFile.RecordType getType()
getType in interface RecordsFile.Recordpublic byte[] getBytes()
getBytes in interface RecordsFile.Recordpublic java.nio.ByteBuffer getBuffer()
getBuffer in interface RecordsFile.Recordpublic void setBytes(byte[] bytes)
setBytes in interface RecordsFile.Recordpublic int getInt(int n)
getInt in interface RecordsFile.Recordpublic long getLong(int n)
getLong in interface RecordsFile.Recordpublic double getDouble(int n)
getDouble in interface RecordsFile.Recordpublic java.sql.Timestamp getTimestamp(int n)
getTimestamp in interface RecordsFile.Recordpublic java.lang.String getString(int n)
getString in interface RecordsFile.Recordpublic byte[] getBytes(int n)
getBytes in interface RecordsFile.Recordpublic int getByte(int n)
getByte in interface RecordsFile.Recordpublic int getShort(int n)
getShort in interface RecordsFile.Recordpublic void setByte(int n,
byte v)
setByte in interface RecordsFile.Recordpublic void setShort(int n,
short v)
setShort in interface RecordsFile.Recordpublic void setInt(int n,
int v)
setInt in interface RecordsFile.Recordpublic void setLong(int n,
long v)
setLong in interface RecordsFile.Recordpublic void setDouble(int n,
double v)
setDouble in interface RecordsFile.Recordpublic void setTimestamp(int n,
java.sql.Timestamp v)
setTimestamp in interface RecordsFile.Recordpublic void setString(int n,
java.lang.String v)
setString in interface RecordsFile.Recordpublic void setBytes(int n,
byte[] v)
setBytes in interface RecordsFile.Record