public class CmProtocolContextConnect extends CmProtocolContext
| Constructor and Description |
|---|
CmProtocolContextConnect() |
CmProtocolContextConnect(CmChannel aChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(short aKey,
boolean aValue) |
void |
addProperty(short aKey,
byte aValue) |
void |
addProperty(short aKey,
Column aValue) |
void |
addProperty(short aKey,
int aValue) |
void |
addProperty(short aKey,
long aValue) |
void |
addProperty(short aKey,
java.lang.String aValue) |
void |
clearProperties() |
java.lang.String |
getCharsetName() |
CmConnectExResult |
getConnectExResult() |
byte |
getExplainPlanMode() |
CmHandshakeResult |
getHandshakeResult() |
int |
getIsolationLevel() |
int |
getLobCacheThreshold() |
java.lang.String |
getNCharsetName() |
Column |
getPropertyColumn(short aKey) |
CmGetPropertyResult |
getPropertyResult() |
CmShardHandshakeResult |
getShardHandshakeResult() |
ShardTransactionLevel |
getShardTransactionLevel() |
boolean |
isSetProperty(short aKey) |
boolean |
isSetPropertyResult(short aKey) |
java.lang.String |
toString() |
addCmResult, addError, channel, clearCmResult, clearError, getCmResult, getError, setChannelpublic CmProtocolContextConnect(CmChannel aChannel)
public CmProtocolContextConnect()
public CmHandshakeResult getHandshakeResult()
public CmShardHandshakeResult getShardHandshakeResult()
public CmConnectExResult getConnectExResult()
public CmGetPropertyResult getPropertyResult()
public void addProperty(short aKey,
java.lang.String aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addProperty(short aKey,
long aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addProperty(short aKey,
int aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addProperty(short aKey,
byte aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addProperty(short aKey,
boolean aValue)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addProperty(short aKey,
Column aValue)
public void clearProperties()
public Column getPropertyColumn(short aKey)
public boolean isSetProperty(short aKey)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isSetPropertyResult(short aKey)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getLobCacheThreshold()
throws java.lang.NumberFormatException,
java.sql.SQLException
java.lang.NumberFormatExceptionjava.sql.SQLExceptionpublic java.lang.String getCharsetName()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getNCharsetName()
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte getExplainPlanMode()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getIsolationLevel()
throws java.lang.NumberFormatException,
java.sql.SQLException
java.lang.NumberFormatExceptionjava.sql.SQLExceptionpublic ShardTransactionLevel getShardTransactionLevel() throws java.lang.NumberFormatException, java.sql.SQLException
java.lang.NumberFormatExceptionjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object