Package org.apache.derby.client.net
Class NetPackageRequest
- java.lang.Object
-
- org.apache.derby.client.net.Request
-
- org.apache.derby.client.net.NetConnectionRequest
-
- org.apache.derby.client.net.NetPackageRequest
-
- All Implemented Interfaces:
ConnectionRequestInterface
- Direct Known Subclasses:
NetStatementRequest
class NetPackageRequest extends NetConnectionRequest
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
COLLECTIONNAME
-
Fields inherited from class org.apache.derby.client.net.Request
buffer, netAgent_, passwordIncluded_, passwordLength_, passwordStart_
-
-
Constructor Summary
Constructors Constructor Description NetPackageRequest(NetAgent netAgent, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
buildCommonPKGNAMinfo(Section section)
private void
buildNOCMorNOCS(java.lang.String string)
(package private) void
buildPKGNAMCSN(Section section)
private void
buildSCLDTA(byte[] identifier, int minimumLength)
protected void
buildSQLATTRcommandData(java.lang.String sql)
private void
buildSQLSTT(java.lang.String string)
protected void
buildSQLSTTcommandData(java.lang.String sql)
private void
buildSQLSTTGRP(java.lang.String string)
private boolean
canCommandUseDefaultPKGNAMCSN()
private boolean
checkPKGNAMlengths(java.lang.String identifier, int length, int maxIdentifierLength, int lengthRequiringScldta)
(package private) void
encryptDataStream(int lengthLocation)
private void
storePKGNAMCBytes(Section section)
private void
writeStoredPKGNAMCBytes(Section section)
-
Methods inherited from class org.apache.derby.client.net.NetConnectionRequest
buildSYNCCTLCommit, buildSYNCCTLMigrate, buildSYNCCTLRollback, writeAccessDatabase, writeAccessSecurity, writeCommitSubstitute, writeExchangeServerAttributes, writeForget, writeLocalCommit, writeLocalRollback, writeLocalXACommit, writeLocalXARollback, writeLocalXAStart, writeNullXID, writeReleaseConversation, writeSecurityCheck, writeSYNCType, writeXaCommit, writeXaEndUnitOfWork, writeXAFlags, writeXaForget, writeXaPrepare, writeXaRecover, writeXaRollback, writeXaStartUnitOfWork, writeXATimeout, writeXID
-
Methods inherited from class org.apache.derby.client.net.Request
buildTripletHeader, createCommand, createCommandData, createEncryptedCommandData, flush, initialize, markForCachingPKGNAMCSN, markLengthBytes, popMarkForCachingPKGNAMCSN, setCorrelationID, setDssLengthLocation, updateLengthBytes, write1Byte, write2Bytes, write4Bytes, writeBigDecimal, writeBoolean, writeBytes, writeBytes, writeCodePoint4Bytes, writeDate, writeDouble, writeFloat, writeInt, writeIntFdocaData, writeLDBytes, writeLengthCodePoint, writeLidAndLengths, writeLong, writeLong6Bytes, writeLongFdocaData, writeScalar1Byte, writeScalar2Bytes, writeScalar4Bytes, writeScalar8Bytes, writeScalarBytes, writeScalarBytes, writeScalarPaddedBytes, writeScalarStream, writeScalarStream, writeScalarStream, writeScalarStream, writeScalarString, writeScalarString, writeShort, writeShortFdocaData, writeSingleorMixedCcsidLDString, writeTime, writeTimestamp, writeUDT
-
-
-
-
Field Detail
-
COLLECTIONNAME
private static final java.lang.String COLLECTIONNAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NetPackageRequest
NetPackageRequest(NetAgent netAgent, int bufferSize)
-
-
Method Detail
-
buildCommonPKGNAMinfo
private void buildCommonPKGNAMinfo(Section section) throws SqlException
- Throws:
SqlException
-
buildSCLDTA
private void buildSCLDTA(byte[] identifier, int minimumLength) throws SqlException
- Throws:
SqlException
-
buildPKGNAMCSN
void buildPKGNAMCSN(Section section) throws SqlException
- Throws:
SqlException
-
storePKGNAMCBytes
private void storePKGNAMCBytes(Section section)
-
writeStoredPKGNAMCBytes
private void writeStoredPKGNAMCBytes(Section section)
-
canCommandUseDefaultPKGNAMCSN
private boolean canCommandUseDefaultPKGNAMCSN()
-
checkPKGNAMlengths
private boolean checkPKGNAMlengths(java.lang.String identifier, int length, int maxIdentifierLength, int lengthRequiringScldta) throws SqlException
- Throws:
SqlException
-
buildNOCMorNOCS
private void buildNOCMorNOCS(java.lang.String string) throws SqlException
- Throws:
SqlException
-
buildSQLSTTGRP
private void buildSQLSTTGRP(java.lang.String string) throws SqlException
- Throws:
SqlException
-
buildSQLSTT
private void buildSQLSTT(java.lang.String string) throws SqlException
- Throws:
SqlException
-
buildSQLSTTcommandData
protected void buildSQLSTTcommandData(java.lang.String sql) throws SqlException
- Throws:
SqlException
-
buildSQLATTRcommandData
protected void buildSQLATTRcommandData(java.lang.String sql) throws SqlException
- Throws:
SqlException
-
encryptDataStream
void encryptDataStream(int lengthLocation) throws SqlException
- Throws:
SqlException
-
-