public class NibbleColumn
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
LENGTH_SIZE_BINARY |
protected static int |
LENGTH_SIZE_INT16 |
protected static int |
LENGTH_SIZE_INT32 |
protected static int |
LENGTH_SIZE_INT8 |
protected java.nio.ByteBuffer |
mByteBuffer
µ¥ÀÌŸ¸¦ byte array ÇüÅ·Π´ãÀº ¹öÆÛ.
|
protected boolean |
mIsNull |
protected int |
mLength
µ¥ÀÌŸÀÇ ±æÀÌ.
|
protected java.util.Set<java.lang.Integer> |
mMappedJdbcTypeSet |
protected int |
mMaxBinaryLength |
protected java.util.List<java.lang.Object> |
mValues |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMappedJdbcTypeSet(int aType) |
protected void |
clear() |
void |
clearCurrentColumnValue() |
void |
clearCurrentValue() |
void |
clearValues()
Ä÷³µ¥ÀÌÅͰ¡ ÀúÀåµÇ¾î ÀÖ´Â ArrayList¸¦ ÃʱâÈ ÇÑ´Ù.
|
DynamicArray |
createTypedDynamicArray() |
protected void |
ensureAlloc(int aByteSize) |
java.io.InputStream |
getAsciiStream() |
protected java.io.InputStream |
getAsciiStreamSub() |
java.math.BigDecimal |
getBigDecimal() |
protected java.math.BigDecimal |
getBigDecimalSub() |
java.io.InputStream |
getBinaryStream() |
protected java.io.InputStream |
getBinaryStreamSub() |
java.sql.Blob |
getBlob() |
protected java.sql.Blob |
getBlobSub() |
boolean |
getBoolean() |
protected boolean |
getBooleanSub() |
byte |
getByte() |
byte[] |
getBytes() |
protected byte[] |
getBytesSub()
nibbleÀ» byte[]·Î º¯È¯ÇØ ¹ÝȯÇÑ´Ù.
|
protected byte |
getByteSub() |
java.io.Reader |
getCharacterStream() |
protected java.io.Reader |
getCharacterStreamSub() |
java.sql.Clob |
getClob() |
protected java.sql.Clob |
getClobSub() |
int |
getColumnIndex()
Ä÷³ÀÇ À妽º¸¦ °¡Á®¿Â´Ù.
|
ColumnInfo |
getColumnInfo() |
java.sql.Date |
getDate() |
java.sql.Date |
getDate(java.util.Calendar aCalendar) |
protected java.sql.Date |
getDateSub() |
protected java.sql.Date |
getDateSub(java.util.Calendar aCalendar) |
int |
getDBColumnType() |
java.lang.String |
getDBColumnTypeName() |
void |
getDefaultColumnInfo(ColumnInfo aColumnInfo) |
double |
getDouble() |
protected double |
getDoubleSub() |
float |
getFloat() |
protected float |
getFloatSub() |
int |
getInt() |
protected int |
getIntSub() |
long |
getLong() |
protected long |
getLongSub() |
java.util.Set<java.lang.Integer> |
getMappedJDBCTypes() |
int |
getMaxBinaryLength() |
int |
getMaxDisplaySize() |
java.lang.Object |
getObject() |
java.lang.String |
getObjectClassName() |
protected java.lang.Object |
getObjectSub() |
int |
getOctetLength()
SQL/CLI ÀÇ SQL_DESC_OCTET_LENGTH ¿¡ ´ëÀÀµÇ´Â column ÀÇ ÃÖ´ë ±æÀ̸¦ ¹ÝȯÇÑ´Ù.
|
short |
getShort() |
protected short |
getShortSub() |
java.lang.String |
getString() |
protected java.lang.String |
getStringSub() |
java.sql.Time |
getTime() |
java.sql.Time |
getTime(java.util.Calendar aCalendar) |
java.sql.Timestamp |
getTimestamp() |
java.sql.Timestamp |
getTimestamp(java.util.Calendar aCalendar) |
protected java.sql.Timestamp |
getTimestampSub() |
protected java.sql.Timestamp |
getTimestampSub(java.util.Calendar aCalendar) |
protected java.sql.Time |
getTimeSub() |
protected java.sql.Time |
getTimeSub(java.util.Calendar aCalendar) |
boolean |
isArrayCompatible(DynamicArray aArray) |
boolean |
isCleared() |
boolean |
isMappedJDBCType(int aSqlType) |
boolean |
isNull() |
protected boolean |
isNullValueSet() |
boolean |
isNumberType() |
void |
loadFrom(DynamicArray aArray) |
void |
loadFrom(int aLoadIndex)
ArrayList·Î ºÎÅÍ Ä÷³µ¥ÀÌÅ͸¦ ÀоîµéÀδÙ.
|
protected void |
loadFromSub(DynamicArray aArray) |
protected void |
loadFromSub(int aLoadIndex) |
protected int |
nullLength() |
int |
prepareToWrite(CmBufferWriter aBufferWriter)
Column.writeTo(CmBufferWriter)·Î ¿¡ ¾µ Áغñ¸¦ Çϰí, ¾µ µ¥ÀÌŸÀÇ ±æÀ̸¦ ¹ÝȯÇÑ´Ù. |
protected void |
readAndStoreValue(CmChannel aChannel) |
void |
readFrom(CmChannel aChannel,
CmFetchResult aFetchResult)
ä³Î·ÎºÎÅÍ Ä÷³µ¥ÀÌÅ͸¦ Àоî¿Í ÇØ´çÇÏ´Â À妽ºÀÇ DynamicArray¿¡ ¹Ù·Î ÀúÀåÇÑ´Ù.
|
protected void |
readFromSub(CmChannel aChannel) |
protected void |
readFromSub(CmChannel aChannel,
DynamicArray aArray)
ä³Î·ÎºÎÅÍ Ä÷³µ¥ÀÌÅ͸¦ ÀÐ¾î ¹Ù·Î DynamicArray¿¡ ÀúÀåÇÑ´Ù.
|
void |
readParamsFrom(CmChannel aChannel) |
void |
readParamsFromSub(CmChannel aChannel) |
void |
setCleared(boolean aIsCleared) |
void |
setColumnIndex(int aColumnIndex)
Ä÷³ À妽º¸¦ ¼ÂÆÃÇÑ´Ù.
|
void |
setColumnInfo(ColumnInfo aInfo) |
void |
setMaxBinaryLength(int aMaxLength) |
protected void |
setNull() |
protected void |
setNullOrNotNull() |
protected void |
setNullValue() |
void |
setValue(java.lang.Object aValue) |
protected void |
setValueSub(java.lang.Object aValue) |
void |
storeTo()
Ä÷³ µ¥ÀÌÅ͸¦ ArrayList¿¡ ÀúÀåÇÑ´Ù.
|
void |
storeTo(DynamicArray aArray) |
void |
storeTo(ListBufferHandle aBufferWriter)
List Protocol À» À§ÇÑ ByteBuffer ¿¡ ÇÁ·ÎÅäÄÝ¿¡¼ Á¤ÀÇÇÑ ¹ÙÀ̳ʸ® ÇüÅ·Πµ¥ÀÌŸ¸¦ ¾´´Ù.
|
protected int |
toByteLength(int aNibbleLength) |
int |
writeTo(CmBufferWriter aBufferWriter)
ByteBuffer¿¡ ÇÁ·ÎÅäÄÝ¿¡¼ Á¤ÀÇÇÑ ¹ÙÀ̳ʸ® ÇüÅ·Πµ¥ÀÌŸ¸¦ ¾´´Ù.
|
protected static final int LENGTH_SIZE_INT8
protected static final int LENGTH_SIZE_INT16
protected static final int LENGTH_SIZE_INT32
protected static final int LENGTH_SIZE_BINARY
protected int mLength
protected java.nio.ByteBuffer mByteBuffer
protected boolean mIsNull
protected int mMaxBinaryLength
protected java.util.List<java.lang.Object> mValues
protected java.util.Set<java.lang.Integer> mMappedJdbcTypeSet
protected int toByteLength(int aNibbleLength)
protected int nullLength()
public int getDBColumnType()
public java.lang.String getDBColumnTypeName()
public java.lang.String getObjectClassName()
public int getMaxDisplaySize()
protected byte getByteSub()
throws java.sql.SQLException
java.sql.SQLException - streamÀÇ ±æÀ̰¡ 2°¡ ¾Æ´Ñ °æ¿ìprotected byte[] getBytesSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.lang.String getStringSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.io.InputStream getBinaryStreamSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.lang.Object getObjectSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void setValueSub(java.lang.Object aValue)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void clear()
public void getDefaultColumnInfo(ColumnInfo aColumnInfo)
public int getOctetLength()
Columnprotected final void ensureAlloc(int aByteSize)
public DynamicArray createTypedDynamicArray()
public boolean isArrayCompatible(DynamicArray aArray)
public void storeTo(DynamicArray aArray)
public void storeTo()
Columnprotected void loadFromSub(DynamicArray aArray)
protected void loadFromSub(int aLoadIndex)
public int prepareToWrite(CmBufferWriter aBufferWriter) throws java.sql.SQLException
ColumnColumn.writeTo(CmBufferWriter)·Î ¿¡ ¾µ Áغñ¸¦ Çϰí, ¾µ µ¥ÀÌŸÀÇ ±æÀ̸¦ ¹ÝȯÇÑ´Ù.aBufferWriter - µ¥ÀÌŸ¸¦ ¾µ ByteBuffer Writerjava.sql.SQLException - ¾µ µ¥ÀÌŸ¸¦ ÁغñÇϴµ¥ ½ÇÆÐÇßÀ» °æ¿ìpublic int writeTo(CmBufferWriter aBufferWriter) throws java.sql.SQLException
ColumnaBufferWriter - µ¥ÀÌŸ¸¦ ¾µ ByteBuffer Writerjava.sql.SQLException - µ¥ÀÌŸ Àü¼Û¿¡ ½ÇÆÐÇßÀ» °æ¿ìprotected void readFromSub(CmChannel aChannel) throws java.sql.SQLException
java.sql.SQLExceptionprotected void readFromSub(CmChannel aChannel, DynamicArray aArray) throws java.sql.SQLException
aChannel - ¼ÒÄÏÅë½ÅÀ» À§ÇÑ Ã¤³Î°´Ã¼aArray - Ä÷³µ¥ÀÌÅ͸¦ ÀúÀåÇÒ DynamicArray°´Ã¼java.sql.SQLException - Á¤»óÀûÀ¸·Î Ä÷³µ¥ÀÌÅ͸¦ ·ÎµåÇÏÁö ¸øÇÑ °æ¿ìprotected void readAndStoreValue(CmChannel aChannel) throws java.sql.SQLException
java.sql.SQLExceptionprotected void setNullValue()
protected boolean isNullValueSet()
protected boolean getBooleanSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected short getShortSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected int getIntSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected long getLongSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected float getFloatSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected double getDoubleSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.io.InputStream getAsciiStreamSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.io.Reader getCharacterStreamSub()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void clearCurrentColumnValue()
protected void addMappedJdbcTypeSet(int aType)
public java.util.Set<java.lang.Integer> getMappedJDBCTypes()
getMappedJDBCTypes in interface Columnprotected java.math.BigDecimal getBigDecimalSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected final java.sql.Date getDateSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.Date getDateSub(java.util.Calendar aCalendar)
throws java.sql.SQLException
java.sql.SQLExceptionprotected final java.sql.Time getTimeSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.Time getTimeSub(java.util.Calendar aCalendar)
throws java.sql.SQLException
java.sql.SQLExceptionprotected final java.sql.Timestamp getTimestampSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.Timestamp getTimestampSub(java.util.Calendar aCalendar)
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.Blob getBlobSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.Clob getClobSub()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void setNull()
protected void setNullOrNotNull()
public final boolean isNumberType()
isNumberType in interface Columnpublic boolean isMappedJDBCType(int aSqlType)
isMappedJDBCType in interface Columnpublic void readParamsFrom(CmChannel aChannel) throws java.sql.SQLException
readParamsFrom in interface Columnjava.sql.SQLExceptionpublic void readParamsFromSub(CmChannel aChannel) throws java.sql.SQLException
java.sql.SQLExceptionpublic void readFrom(CmChannel aChannel, CmFetchResult aFetchResult) throws java.sql.SQLException
Columnpublic int getMaxBinaryLength()
public void setMaxBinaryLength(int aMaxLength)
setMaxBinaryLength in interface Columnpublic void loadFrom(DynamicArray aArray)
public void loadFrom(int aLoadIndex)
Columnpublic void setColumnInfo(ColumnInfo aInfo)
setColumnInfo in interface Columnpublic ColumnInfo getColumnInfo()
getColumnInfo in interface Columnpublic void setValue(java.lang.Object aValue)
throws java.sql.SQLException
public boolean getBoolean()
throws java.sql.SQLException
getBoolean in interface Columnjava.sql.SQLExceptionpublic byte getByte()
throws java.sql.SQLException
public byte[] getBytes()
throws java.sql.SQLException
public short getShort()
throws java.sql.SQLException
public int getInt()
throws java.sql.SQLException
public long getLong()
throws java.sql.SQLException
public float getFloat()
throws java.sql.SQLException
public double getDouble()
throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal()
throws java.sql.SQLException
getBigDecimal in interface Columnjava.sql.SQLExceptionpublic java.lang.String getString()
throws java.sql.SQLException
public java.sql.Date getDate()
throws java.sql.SQLException
public java.sql.Date getDate(java.util.Calendar aCalendar)
throws java.sql.SQLException
public java.sql.Time getTime()
throws java.sql.SQLException
public java.sql.Time getTime(java.util.Calendar aCalendar)
throws java.sql.SQLException
public java.sql.Timestamp getTimestamp()
throws java.sql.SQLException
getTimestamp in interface Columnjava.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(java.util.Calendar aCalendar)
throws java.sql.SQLException
getTimestamp in interface Columnjava.sql.SQLExceptionpublic java.io.InputStream getAsciiStream()
throws java.sql.SQLException
getAsciiStream in interface Columnjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream()
throws java.sql.SQLException
getBinaryStream in interface Columnjava.sql.SQLExceptionpublic java.io.Reader getCharacterStream()
throws java.sql.SQLException
getCharacterStream in interface Columnjava.sql.SQLExceptionpublic java.sql.Blob getBlob()
throws java.sql.SQLException
public java.sql.Clob getClob()
throws java.sql.SQLException
public java.lang.Object getObject()
throws java.sql.SQLException
public void storeTo(ListBufferHandle aBufferWriter) throws java.sql.SQLException
Columnpublic int getColumnIndex()
ColumngetColumnIndex in interface Columnpublic void setColumnIndex(int aColumnIndex)
ColumnsetColumnIndex in interface ColumnaColumnIndex - Ä÷³ À妽ºpublic void clearValues()
ColumnclearValues in interface Columnpublic void setCleared(boolean aIsCleared)
setCleared in interface Columnpublic void clearCurrentValue()
clearCurrentValue in interface Column