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 Request
buffer, netAgent_, passwordIncluded_, passwordLength_, passwordStart_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbuildCommonPKGNAMinfo(Section section) private voidbuildNOCMorNOCS(String string) (package private) voidbuildPKGNAMCSN(Section section) private voidbuildSCLDTA(byte[] identifier, int minimumLength) protected voidprivate voidbuildSQLSTT(String string) protected voidprivate voidbuildSQLSTTGRP(String string) private booleanprivate booleancheckPKGNAMlengths(String identifier, int length, int maxIdentifierLength, int lengthRequiringScldta) (package private) voidencryptDataStream(int lengthLocation) private voidstorePKGNAMCBytes(Section section) private voidwriteStoredPKGNAMCBytes(Section section) Methods inherited from class 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, writeXIDMethods inherited from class 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
-