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
-
Field Summary
FieldsFields inherited from class org.apache.derby.client.net.Request
buffer, netAgent_, passwordIncluded_, passwordLength_, passwordStart_
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
buildCommonPKGNAMinfo
(Section section) private void
buildNOCMorNOCS
(String string) (package private) void
buildPKGNAMCSN
(Section section) private void
buildSCLDTA
(byte[] identifier, int minimumLength) protected void
private void
buildSQLSTT
(String string) protected void
private void
buildSQLSTTGRP
(String string) private boolean
private boolean
checkPKGNAMlengths
(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 Details
-
COLLECTIONNAME
- See Also:
-
-
Constructor Details
-
NetPackageRequest
NetPackageRequest(NetAgent netAgent, int bufferSize)
-
-
Method Details
-
buildCommonPKGNAMinfo
- Throws:
SqlException
-
buildSCLDTA
- Throws:
SqlException
-
buildPKGNAMCSN
- Throws:
SqlException
-
storePKGNAMCBytes
-
writeStoredPKGNAMCBytes
-
canCommandUseDefaultPKGNAMCSN
private boolean canCommandUseDefaultPKGNAMCSN() -
checkPKGNAMlengths
private boolean checkPKGNAMlengths(String identifier, int length, int maxIdentifierLength, int lengthRequiringScldta) throws SqlException - Throws:
SqlException
-
buildNOCMorNOCS
- Throws:
SqlException
-
buildSQLSTTGRP
- Throws:
SqlException
-
buildSQLSTT
- Throws:
SqlException
-
buildSQLSTTcommandData
- Throws:
SqlException
-
buildSQLATTRcommandData
- Throws:
SqlException
-
encryptDataStream
- Throws:
SqlException
-