doquedb package
Subpackages
- doquedb.client package
- Submodules
- doquedb.client.connection module
- doquedb.client.constants module
- doquedb.client.datasource module
DataSource
DataSource.__connection_list
DataSource.__connection_element
DataSource.__portmap
DataSource.__expunge_port
DataSource.__hostname
DataSource.__portnumber
DataSource.__protocol_ver
DataSource.__sessionmap
DataSource.__is_closed
DataSource.__masterID
DataSource.__authorization
DataSource.CHECK_CONNECTION_POOL_PERIOD
DataSource.CONNECTION_THRESHOLD
DataSource.DATABASE_ALL
DataSource.MAXIMUM_CONNECTION_POOL_COUNT
DataSource.TIME_UNIT
DataSource.authorization
DataSource.close()
DataSource.create_session()
DataSource.expunge_port()
DataSource.get_client_connection()
DataSource.is_database_available()
DataSource.is_server_available()
DataSource.master_id
DataSource.new_client_connection()
DataSource.new_port()
DataSource.open()
DataSource.pop_port()
DataSource.push_port()
DataSource.remove_session()
DataSource.session_exist()
DataSource.shutdown()
- doquedb.client.object module
- doquedb.client.port module
- doquedb.client.prepare_statement module
- doquedb.client.resultset module
ResultSet
ResultSet.__status
ResultSet.__status
ResultSet.__rowcount
ResultSet.__is_closed
ResultSet.cancel()
ResultSet.close()
ResultSet.get_next_tuple()
ResultSet.get_row_as_tuple()
ResultSet.get_status()
ResultSet.is_closed
ResultSet.last_status
ResultSet.metadata
ResultSet.next()
ResultSet.row
ResultSet.rowcount
- doquedb.client.session module
Session
Session.__dbname
Session.__username
Session.__session_id
Session.close()
Session.close_internal()
Session.close_prepare()
Session.create_prepare_statement()
Session.datasource
Session.dbname
Session.erase_prepare_statement()
Session.execute()
Session.execute_prepare()
Session.get_database_product_ver()
Session.id_
Session.is_valid
Session.prepared_map
Session.username
- Module contents
- doquedb.common package
- Submodules
- doquedb.common.abstracts module
- doquedb.common.arraydata module
- doquedb.common.constants module
ClassID
ClassID.BINARY_DATA
ClassID.COLUMN_META_DATA
ClassID.COMPRESSED_BINARY_DATA
ClassID.COMPRESSED_STRING_DATA
ClassID.DATA_ARRAY_DATA
ClassID.DATE_DATA
ClassID.DATE_TIME_DATA
ClassID.DECIMAL_DATA
ClassID.DOUBLE_DATA
ClassID.ERROR_LEVEL
ClassID.EXCEPTION_DATA
ClassID.FLOAT_DATA
ClassID.INTEGER64_DATA
ClassID.INTEGER_ARRAY_DATA
ClassID.INTEGER_DATA
ClassID.LANGUAGE_DATA
ClassID.NONE
ClassID.NULL_DATA
ClassID.REQUEST
ClassID.RESULTSET_META_DATA
ClassID.STATUS
ClassID.STRING_ARRAY_DATA
ClassID.STRING_DATA
ClassID.UNSIGNED_INTEGER64_DATA
ClassID.UNSIGNED_INTEGER_ARRAY_DATA
ClassID.UNSIGNED_INTEGER_DATA
ClassID.WORD_DATA
Country
Country.AD
Country.AE
Country.AF
Country.AG
Country.AI
Country.AL
Country.AM
Country.AN
Country.AO
Country.AQ
Country.AR
Country.AS
Country.AT
Country.AU
Country.AW
Country.AZ
Country.BA
Country.BB
Country.BD
Country.BE
Country.BF
Country.BG
Country.BH
Country.BI
Country.BJ
Country.BM
Country.BN
Country.BO
Country.BR
Country.BS
Country.BT
Country.BV
Country.BW
Country.BY
Country.BZ
Country.CA
Country.CC
Country.CD
Country.CF
Country.CG
Country.CH
Country.CI
Country.CK
Country.CL
Country.CM
Country.CN
Country.CO
Country.CR
Country.CU
Country.CV
Country.CX
Country.CY
Country.CZ
Country.DE
Country.DJ
Country.DK
Country.DM
Country.DO
Country.DZ
Country.EC
Country.EE
Country.EG
Country.EH
Country.ER
Country.ES
Country.ET
Country.FI
Country.FJ
Country.FK
Country.FM
Country.FO
Country.FR
Country.FX
Country.GA
Country.GB
Country.GD
Country.GE
Country.GF
Country.GH
Country.GI
Country.GL
Country.GM
Country.GN
Country.GP
Country.GQ
Country.GR
Country.GS
Country.GT
Country.GU
Country.GW
Country.GY
Country.HK
Country.HM
Country.HN
Country.HR
Country.HT
Country.HU
Country.ID
Country.IE
Country.IL
Country.IN
Country.IO
Country.IQ
Country.IR
Country.IS
Country.IT
Country.JM
Country.JO
Country.JP
Country.KE
Country.KG
Country.KH
Country.KI
Country.KM
Country.KN
Country.KP
Country.KR
Country.KW
Country.KY
Country.KZ
Country.LA
Country.LAST
Country.LB
Country.LC
Country.LI
Country.LK
Country.LR
Country.LS
Country.LT
Country.LU
Country.LV
Country.LY
Country.MA
Country.MC
Country.MD
Country.MG
Country.MH
Country.MK
Country.ML
Country.MM
Country.MN
Country.MO
Country.MP
Country.MQ
Country.MR
Country.MS
Country.MT
Country.MU
Country.MV
Country.MW
Country.MX
Country.MY
Country.MZ
Country.NA
Country.NC
Country.NE
Country.NF
Country.NG
Country.NI
Country.NL
Country.NO
Country.NP
Country.NR
Country.NU
Country.NZ
Country.OM
Country.PA
Country.PE
Country.PF
Country.PG
Country.PH
Country.PK
Country.PL
Country.PM
Country.PN
Country.PR
Country.PS
Country.PT
Country.PW
Country.PY
Country.QA
Country.RE
Country.RO
Country.RU
Country.RW
Country.SA
Country.SB
Country.SC
Country.SD
Country.SE
Country.SG
Country.SH
Country.SI
Country.SJ
Country.SK
Country.SL
Country.SM
Country.SN
Country.SO
Country.SR
Country.ST
Country.SV
Country.SY
Country.SZ
Country.TC
Country.TD
Country.TF
Country.TG
Country.TH
Country.TJ
Country.TK
Country.TL
Country.TM
Country.TN
Country.TO
Country.TR
Country.TT
Country.TV
Country.TW
Country.TZ
Country.UA
Country.UG
Country.UM
Country.UNDEFINED
Country.US
Country.UY
Country.UZ
Country.VA
Country.VC
Country.VE
Country.VG
Country.VI
Country.VN
Country.VU
Country.WF
Country.WS
Country.YE
Country.YT
Country.YU
Country.ZA
Country.ZM
Country.ZW
Country.code_symbol
Country.is_valid()
Country.to_code()
Country.to_symbol()
DataType
DataType.ARRAY
DataType.BINARY
DataType.BITSET
DataType.COLUMN_META_DATA
DataType.DATA
DataType.DATE
DataType.DATE_TIME
DataType.DECIMAL
DataType.DOUBLE
DataType.FLOAT
DataType.INTEGER
DataType.INTEGER64
DataType.LANGUAGE
DataType.NULL
DataType.OBJECTID
DataType.STRING
DataType.UNDEFINED
DataType.WORD
Language
Language.AA
Language.AB
Language.AF
Language.AM
Language.AR
Language.AS
Language.AY
Language.AZ
Language.BA
Language.BE
Language.BG
Language.BH
Language.BI
Language.BN
Language.BO
Language.BR
Language.CA
Language.CO
Language.CS
Language.CY
Language.DA
Language.DE
Language.DZ
Language.EL
Language.EN
Language.EO
Language.ES
Language.ET
Language.EU
Language.FA
Language.FI
Language.FJ
Language.FO
Language.FR
Language.FY
Language.GA
Language.GD
Language.GL
Language.GN
Language.GU
Language.HA
Language.HE
Language.HI
Language.HR
Language.HU
Language.HY
Language.IA
Language.ID
Language.IE
Language.IK
Language.IS
Language.IT
Language.IU
Language.JA
Language.JW
Language.KA
Language.KK
Language.KL
Language.KM
Language.KN
Language.KO
Language.KS
Language.KU
Language.KY
Language.LA
Language.LAST
Language.LN
Language.LO
Language.LT
Language.LV
Language.MG
Language.MI
Language.MK
Language.ML
Language.MN
Language.MO
Language.MR
Language.MS
Language.MT
Language.MY
Language.NA
Language.NE
Language.NL
Language.NO
Language.OC
Language.OM
Language.OR
Language.PA
Language.PL
Language.PS
Language.PT
Language.QU
Language.RM
Language.RN
Language.RO
Language.RU
Language.RW
Language.SA
Language.SD
Language.SG
Language.SH
Language.SI
Language.SK
Language.SL
Language.SM
Language.SN
Language.SO
Language.SQ
Language.SR
Language.SS
Language.ST
Language.SU
Language.SV
Language.SW
Language.TA
Language.TE
Language.TG
Language.TH
Language.TI
Language.TK
Language.TL
Language.TN
Language.TO
Language.TR
Language.TS
Language.TT
Language.TW
Language.UG
Language.UK
Language.UNDEFINED
Language.UR
Language.UZ
Language.VI
Language.VO
Language.WO
Language.XH
Language.YI
Language.YO
Language.ZA
Language.ZH
Language.ZU
Language.code_symbol
Language.is_valid()
Language.to_code()
Language.to_symbol()
SQLType
SQLType.BIG_INT
SQLType.BINARY
SQLType.BINARY_LARGE_OBJECT
SQLType.BINARY_VARYING
SQLType.BOOLEAN
SQLType.CHARACTER
SQLType.CHARACTER_LARGE_OBJECT
SQLType.CHARACTER_VARYING
SQLType.DATE
SQLType.DECIMAL
SQLType.DOUBLE_PRECISION
SQLType.FLOAT
SQLType.INTEGER
SQLType.LANGUAGE
SQLType.NATIONAL_CHARACTER
SQLType.NATIONAL_CHARACTER_LARGE_OBJECT
SQLType.NATIONAL_CHARACTER_VARYING
SQLType.NUMERIC
SQLType.REAL
SQLType.SMALL_INT
SQLType.TIME
SQLType.TIMESTAMP
SQLType.UNKNOWN
SQLType.WORD
- doquedb.common.data module
BinaryData
WordData
WordData.term
WordData.language
WordData.category
WordData.scale
WordData.docfrequency
WordData.CATEGORY_ESSENTIAL
WordData.CATEGORY_ESSENTIAL_RELATED
WordData.CATEGORY_HELPFUL
WordData.CATEGORY_HELPFUL_RELATED
WordData.CATEGORY_IMPORTANT
WordData.CATEGORY_IMPORTANT_RELATED
WordData.CATEGORY_PROHIBITIVE
WordData.CATEGORY_PROHIBITIVE_RELATED
WordData.CATEGORY_UNDEFINED
WordData.category
WordData.class_id
WordData.clone()
WordData.docfrequency
WordData.language
WordData.languagestr
WordData.read_object()
WordData.scale
WordData.term
WordData.write_object()
- doquedb.common.instance module
- doquedb.common.iostream module
- doquedb.common.language module
- doquedb.common.scalardata module
- doquedb.common.serialdata module
ColumnMetaData
ColumnMetaData.__type
ColumnMetaData.__typename
ColumnMetaData.__colname
ColumnMetaData.__tablename
ColumnMetaData.__dbname
ColumnMetaData.__column_aliasname
ColumnMetaData.__table_aliasname
ColumnMetaData.__displaysize
ColumnMetaData.__precision
ColumnMetaData.__scale
ColumnMetaData.__cardinality
ColumnMetaData.__flag
ColumnMetaData.cardinality
ColumnMetaData.class_id
ColumnMetaData.colname
ColumnMetaData.column_aliasname
ColumnMetaData.data_map
ColumnMetaData.dbname
ColumnMetaData.displaysize
ColumnMetaData.flag
ColumnMetaData.get_datainstance()
ColumnMetaData.get_datatype()
ColumnMetaData.is_array
ColumnMetaData.is_autoincrement
ColumnMetaData.is_case_insensitive
ColumnMetaData.is_readonly
ColumnMetaData.is_unique
ColumnMetaData.is_unsigned
ColumnMetaData.isnot_nullable
ColumnMetaData.isnot_searchable
ColumnMetaData.precision
ColumnMetaData.read_object()
ColumnMetaData.scale
ColumnMetaData.table_aliasname
ColumnMetaData.tablename
ColumnMetaData.type
ColumnMetaData.typename
ColumnMetaData.write_object()
ErrorLevel
ExceptionData
Request
Status
- doquedb.common.serializable module
- doquedb.common.unicodestr module
- Module contents
- doquedb.driver package
- Submodules
- doquedb.driver.connection module
Connection
Connection.info
Connection._session
Connection.username
Connection.password
Connection.master_id
Connection.charset
Connection.in_autocommit
Connection.is_closed
Connection.readonly
Connection.in_transaction
Connection.isolation_level
Connection.begin_transaction()
Connection.charset
Connection.close()
Connection.commit()
Connection.cursor()
Connection.in_transaction
Connection.info
Connection.is_autocommit
Connection.isolation_level
Connection.isolevel
Connection.master_id
Connection.mode
Connection.password
Connection.readonly
Connection.rollback()
Connection.set_readonly()
Connection.set_transaction_isolation()
Connection.username
TransactionIsolationLevel
TransactionMode
- doquedb.driver.cursor module
Cursor
Cursor.arraysize
Cursor._rowcount
Cursor._description
Cursor.__metadata
Cursor.__resultset
Cursor.arraysize
Cursor.callproc()
Cursor.cancel()
Cursor.close()
Cursor.description
Cursor.execute()
Cursor.executemany()
Cursor.fetchall()
Cursor.fetchmany()
Cursor.fetchone()
Cursor.is_closed
Cursor.rowcount
Cursor.setinputsize()
Cursor.setoutputsize()
CursorPrepared
- doquedb.driver.dbapi module
- Module contents
- doquedb.exception package
- Submodules
- doquedb.exception.database_exceptions module
AlreadyBeginTransaction
AlreadyStartBackup
ArbitraryElementNotAllowed
AreaAlreadyDefined
AreaNotFound
ArrayRightTruncation
AssertionFailed
AuthorizationFailed
BadArgument
BadArrayElement
BadDataPage
BadPasswordFile
BadTransaction
Cancel
CanceledBySuperUser
CannotConnect
CardinalityViolation
CascadeAlreadyDefined
CascadeNotFound
CharacterNotInRepertoire
ClassCast
ClassNotFound
ClientNotExist
ColumnAlreadyDefined
ColumnLengthOutOfRange
ColumnNotFound
ColumnPrecisionOutOfRange
ColumnScaleOutOfRange
CommonColumnNotFound
ConnectionClosed
ConnectionNotExist
ConnectionRanOut
ConstraintAlreadyDefined
ConstraintNotFound
CryptLibraryError
DatabaseAlreadyDefined
DatabaseChanged
DatabaseCorrupted
DatabaseNotAvailable
DatabaseNotFound
DatabaseNotMountable
Deadlock
DefaultNeeded
DiskFull
DivisionByZero
DuplicateCommonColumn
DuplicateIdentity
DuplicateQualifiedName
DuplicateServer
DuplicateUpdateColumn
DuplicateUser
DuplicateUserID
DuplicateVariable
DynamicParameterNotMatch
EntryNotFound
ExceedDegree
Fatal
FileAlreadyExisted
FileAlreadyOpened
FileManipulateError
FileNotFound
FileNotOpen
FlushPrevented
ForeignKeyViolation
FullTextIndexNeeded
FunctionNotFound
GoingShutdown
IllegalFileAccess
IndexAlreadyDefined
IndexNotFound
IntegrityViolation
InvalidAreaSpecification
InvalidBulkParameter
InvalidCardinality
InvalidCascade
InvalidCharacter
InvalidDataFile
InvalidDatetimeFormat
InvalidDefault
InvalidDerivedColumn
InvalidDerivedName
InvalidElementReference
InvalidEscape
InvalidEscapeSequence
InvalidExpandDegree
InvalidExpandLimit
InvalidExpandOrder
InvalidExplicitTransaction
InvalidFullTextUsage
InvalidFunction
InvalidIdentifier
InvalidIndexKey
InvalidInsertSource
InvalidKwic
InvalidLike
InvalidPartition
InvalidPath
InvalidRankFrom
InvalidReference
InvalidRegularExpression
InvalidRowValue
InvalidSectionData
InvalidSetFunction
InvalidSimilar
InvalidStatementIdentifier
InvalidSubQuery
InvalidSubstringOf
InvalidUpdateColumn
InvalidUserName
KeyAlreadyDefined
KeyNotFound
KwicWithoutContains
LackForChild
LackOfParent
LibraryNotFound
ListFormatOverflow
LockTimeout
LogFileCorrupted
LogItemCorrupted
LogItemNotFound
MemoryExhaust
MetaDatabaseCorrupted
ModLibraryError
NonCharacterInString
NonGroupingColumn
NotBeginTransaction
NotComparable
NotCompatible
NotInitialized
NotStartBackup
NotSupported
NullNotAllowed
NullabilityViolation
NumericValueOutOfRange
OfflineDatabase
OtherDatabaseAlreadyModified
OtherObjectDepending
OuterReferenceNotAllowed
PartitionAlreadyDefined
PartitionNotFound
PermissionDenied
PrepareFailed
PreservedDifferentPage
PrivilegeNotAllowed
ReadOnlyDatabase
ReadOnlyPartition
ReadOnlyTransaction
RecoveryFailed
ReferedKeyViolation
ReorganizeFailed
ReplicationAborted
RoleNotFound
RunningCheckpointProcessing
SQLSyntaxError
SchemaObjectNotFound
SequenceLimitExceeded
ServerNotAvailable
SessionBusy
SessionNotAvailable
SessionNotExist
SnapshotDiscarded
SpatialIndexNeeded
StoredFunctionAlreadyDefined
StoredFunctionNotFound
StoredFunctionUsed
StringRightTruncation
SubStringError
SystemCall
SystemTable
TableAlreadyDefined
TableNotEmpty
TableNotFound
TemporaryDatabase
TemporaryTable
TimeStampFileCorrupted
TooLongConditionalPattern
TooLongObjectName
TooLongStatement
TooLongUserName
TooManyExpandedPattern
TooManyOpenFiles
Unexpected
UniquenessViolation
UnknownException
UnknownRequest
UserIDOutOfRange
UserNotFound
UserRequired
VariableNotFound
VerifyAborted
WrongParameter
XA_DuplicateIdentifier
XA_HeurCommit
XA_HeurMix
XA_HeurRollback
XA_InsideActiveBranch
XA_InvalidIdentifier
XA_ProtocolError
XA_UnknownIdentifier
- doquedb.exception.error_message module
- doquedb.exception.errorcode module
ErrorCode
ErrorCode.AlreadyBeginTransaction
ErrorCode.AlreadyStartBackup
ErrorCode.ArbitraryElementNotAllowed
ErrorCode.AreaAlreadyDefined
ErrorCode.AreaNotFound
ErrorCode.ArrayRightTruncation
ErrorCode.AssertionFailed
ErrorCode.AuthorizationFailed
ErrorCode.BadArgument
ErrorCode.BadArrayElement
ErrorCode.BadDataPage
ErrorCode.BadPasswordFile
ErrorCode.BadTransaction
ErrorCode.Cancel
ErrorCode.CanceledBySuperUser
ErrorCode.CannotConnect
ErrorCode.CardinalityViolation
ErrorCode.CascadeAlreadyDefined
ErrorCode.CascadeNotFound
ErrorCode.CharacterNotInRepertoire
ErrorCode.ClassCast
ErrorCode.ClassNotFound
ErrorCode.ClientNotExist
ErrorCode.ColumnAlreadyDefined
ErrorCode.ColumnLengthOutOfRange
ErrorCode.ColumnNotFound
ErrorCode.ColumnPrecisionOutOfRange
ErrorCode.ColumnScaleOutOfRange
ErrorCode.CommonColumnNotFound
ErrorCode.ConnectionClosed
ErrorCode.ConnectionNotExist
ErrorCode.ConnectionRanOut
ErrorCode.ConstraintAlreadyDefined
ErrorCode.ConstraintNotFound
ErrorCode.CryptLibraryError
ErrorCode.DatabaseAlreadyDefined
ErrorCode.DatabaseChanged
ErrorCode.DatabaseCorrupted
ErrorCode.DatabaseNotAvailable
ErrorCode.DatabaseNotFound
ErrorCode.DatabaseNotMountable
ErrorCode.Deadlock
ErrorCode.DefaultNeeded
ErrorCode.DiskFull
ErrorCode.DivisionByZero
ErrorCode.DuplicateCommonColumn
ErrorCode.DuplicateIdentity
ErrorCode.DuplicateQualifiedName
ErrorCode.DuplicateServer
ErrorCode.DuplicateUpdateColumn
ErrorCode.DuplicateUser
ErrorCode.DuplicateUserID
ErrorCode.DuplicateVariable
ErrorCode.DynamicParameterNotMatch
ErrorCode.EntryNotFound
ErrorCode.ExceedDegree
ErrorCode.Fatal
ErrorCode.FileAlreadyExisted
ErrorCode.FileAlreadyOpened
ErrorCode.FileManipulateError
ErrorCode.FileNotFound
ErrorCode.FileNotOpen
ErrorCode.FlushPrevented
ErrorCode.ForeignKeyViolation
ErrorCode.FullTextIndexNeeded
ErrorCode.FunctionNotFound
ErrorCode.GoingShutdown
ErrorCode.IllegalFileAccess
ErrorCode.IndexAlreadyDefined
ErrorCode.IndexNotFound
ErrorCode.IntegrityViolation
ErrorCode.InvalidAreaSpecification
ErrorCode.InvalidBulkParameter
ErrorCode.InvalidCardinality
ErrorCode.InvalidCascade
ErrorCode.InvalidCharacter
ErrorCode.InvalidDataFile
ErrorCode.InvalidDatetimeFormat
ErrorCode.InvalidDefault
ErrorCode.InvalidDerivedColumn
ErrorCode.InvalidDerivedName
ErrorCode.InvalidElementReference
ErrorCode.InvalidEscape
ErrorCode.InvalidEscapeSequence
ErrorCode.InvalidExpandDegree
ErrorCode.InvalidExpandLimit
ErrorCode.InvalidExpandOrder
ErrorCode.InvalidExplicitTransaction
ErrorCode.InvalidFullTextUsage
ErrorCode.InvalidFunction
ErrorCode.InvalidIdentifier
ErrorCode.InvalidIndexKey
ErrorCode.InvalidInsertSource
ErrorCode.InvalidKwic
ErrorCode.InvalidLike
ErrorCode.InvalidPartition
ErrorCode.InvalidPath
ErrorCode.InvalidRankFrom
ErrorCode.InvalidReference
ErrorCode.InvalidRegularExpression
ErrorCode.InvalidRowValue
ErrorCode.InvalidSectionData
ErrorCode.InvalidSetFunction
ErrorCode.InvalidSimilar
ErrorCode.InvalidStatementIdentifier
ErrorCode.InvalidSubQuery
ErrorCode.InvalidSubstringOf
ErrorCode.InvalidUpdateColumn
ErrorCode.InvalidUserName
ErrorCode.KeyAlreadyDefined
ErrorCode.KeyNotFound
ErrorCode.KwicWithoutContains
ErrorCode.LackForChild
ErrorCode.LackOfParent
ErrorCode.LibraryNotFound
ErrorCode.ListFormatOverflow
ErrorCode.LockTimeout
ErrorCode.LogFileCorrupted
ErrorCode.LogItemCorrupted
ErrorCode.LogItemNotFound
ErrorCode.MemoryExhaust
ErrorCode.MetaDatabaseCorrupted
ErrorCode.ModLibraryError
ErrorCode.NonCharacterInString
ErrorCode.NonGroupingColumn
ErrorCode.NotBeginTransaction
ErrorCode.NotComparable
ErrorCode.NotCompatible
ErrorCode.NotInitialized
ErrorCode.NotStartBackup
ErrorCode.NotSupported
ErrorCode.NullNotAllowed
ErrorCode.NullabilityViolation
ErrorCode.NumericValueOutOfRange
ErrorCode.OfflineDatabase
ErrorCode.OtherDatabaseAlreadyModified
ErrorCode.OtherObjectDepending
ErrorCode.OuterReferenceNotAllowed
ErrorCode.PartitionAlreadyDefined
ErrorCode.PartitionNotFound
ErrorCode.PermissionDenied
ErrorCode.PrepareFailed
ErrorCode.PreservedDifferentPage
ErrorCode.PrivilegeNotAllowed
ErrorCode.ReadOnlyDatabase
ErrorCode.ReadOnlyPartition
ErrorCode.ReadOnlyTransaction
ErrorCode.RecoveryFailed
ErrorCode.ReferedKeyViolation
ErrorCode.ReorganizeFailed
ErrorCode.ReplicationAborted
ErrorCode.RoleNotFound
ErrorCode.RunningCheckpointProcessing
ErrorCode.SQLSyntaxError
ErrorCode.SchemaObjectNotFound
ErrorCode.SequenceLimitExceeded
ErrorCode.ServerNotAvailable
ErrorCode.SessionBusy
ErrorCode.SessionNotAvailable
ErrorCode.SessionNotExist
ErrorCode.SnapshotDiscarded
ErrorCode.SpatialIndexNeeded
ErrorCode.StoredFunctionAlreadyDefined
ErrorCode.StoredFunctionNotFound
ErrorCode.StoredFunctionUsed
ErrorCode.StringRightTruncation
ErrorCode.SubStringError
ErrorCode.SystemCall
ErrorCode.SystemTable
ErrorCode.TableAlreadyDefined
ErrorCode.TableNotEmpty
ErrorCode.TableNotFound
ErrorCode.TemporaryDatabase
ErrorCode.TemporaryTable
ErrorCode.TimeStampFileCorrupted
ErrorCode.TooLongConditionalPattern
ErrorCode.TooLongObjectName
ErrorCode.TooLongStatement
ErrorCode.TooLongUserName
ErrorCode.TooManyExpandedPattern
ErrorCode.TooManyOpenFiles
ErrorCode.Unexpected
ErrorCode.UniquenessViolation
ErrorCode.UnknownException
ErrorCode.UnknownRequest
ErrorCode.UserIDOutOfRange
ErrorCode.UserNotFound
ErrorCode.UserRequired
ErrorCode.VariableNotFound
ErrorCode.VerifyAborted
ErrorCode.WrongParameter
ErrorCode.XA_DuplicateIdentifier
ErrorCode.XA_HeurCommit
ErrorCode.XA_HeurMix
ErrorCode.XA_HeurRollback
ErrorCode.XA_InsideActiveBranch
ErrorCode.XA_InvalidIdentifier
ErrorCode.XA_ProtocolError
ErrorCode.XA_UnknownIdentifier
- doquedb.exception.exceptions module
- doquedb.exception.message_format_eg module
- doquedb.exception.message_format_jp module
- doquedb.exception.raise_error module
- Module contents
- doquedb.port package
- Submodules
- doquedb.port.authorizemode module
- doquedb.port.connection module
Connection
Connection.__connection_type
Connection.__master_id
Connection.__slave_id
Connection._inputstream
Connection._outputstream
Connection.authorization
Connection.close()
Connection.flush()
Connection.master_id
Connection.open()
Connection.read_object()
Connection.slave_id
Connection.type
Connection.write_object()
RemoteClientConnection
- doquedb.port.constants module
- Module contents
Module contents
doquedb – DoqueDB接続用パッケージ
- doquedb.BINARY
alias of
bytes
- doquedb.Binary
alias of
bytes
- class doquedb.Connection(hostname: str, portnum: int, protocol_ver: int, session: Session, user: str | None, password: str | None, master_id: int, charset: str, autocommit: bool = False)
Bases:
object
DB-API 2.0 のコネクションクラス. 特定のデータベースとの接続 (セッション) を表現します。
- Parameters:
hostname (str) – ホスト名
portnum (int) – ポート番号
protocol_ver (int) – プロトコルバージョン
session (Session) – セッション
user (str) – ユーザー名
password (str) – パスワード
master_id (int) – マスターID
charset (str) – 文字セット
autocommit (bool) – オートコミットのオンオフ. デフォルトはFalse
- info
ホスト名、ポート番号、プロトコルバージョンのリスト
- Type:
list
- username
ユーザー名
- Type:
str
- password
パスワード
- Type:
str
- master_id
マスターID
- Type:
int
- charset
文字セット
- Type:
str
- in_autocommit
オートコミットのオンオフ
- Type:
bool
- is_closed
クローズしたかどうか
- Type:
bool
- readonly
読込み専用モードかどうか
- Type:
bool
- in_transaction
トランザクション中かどうか
- Type:
bool
- isolation_level
トランザクション遮断レベル
- Type:
bool
- begin_transaction(transaction_mode: int | None = None) None
トランザクションを開始する.
- Parameters:
transaction_mode –
- obj:
`TransactionMode`内のいずれかのトランザクションモード
Notes
このメソッドは自動コミットモードが無効の時にのみ使用する.
- property charset: str
文字コードのゲッター.
- close() None
セッションのクローズ
自動解除を待たずにDoqueDBとのセッションのクローズ処理を直ちに行う。
- commit() None
現在のトランザクションをコミットする.
- Raises:
ProgrammingError – プログラミングの誤りによって発生するエラー
InterfaceError – 通信プロトコル周りのエラー時に発生
- cursor(prepared: bool | None = False) Cursor
カーソルの生成
データベース操作のためのカーソルオブジェクトを生成する
- Parameters:
prepared (Optional[bool]) – プリペアードステートメント利用フラグ. デフォルトはFalse
- Returns:
カーソルオブジェクト
- Return type:
- Raises:
ProgrammingError – 複数のカーソルを作成しようとした場合に発生
Notes
カーソルはコネクションに対して1つしか作成できない。 複数のカーソルを同時に作成したい場合はコネクションを新しく生成する必要がある。
- property in_transaction: bool
トランザクションのオンオフのゲッター
- property info: tuple
接続情報(ホスト名, ポート番号, プロトコルバージョン)のタプル
- property is_autocommit: bool
オートコミットのオンオフのゲッター
- property isolation_level: int
“トランザクション遮断レベルのゲッター
- isolevel
alias of
TransactionIsolationLevel
- property master_id: int
マスターIDのゲッター
- mode
alias of
TransactionMode
- property password: str | None
パスワードのゲッター
- property readonly: bool
“読込み専用モードかどうか
- rollback() None
現在のトランザクションをロールバックする.
- Raises:
exceptions.InterfaceError – 通信プロトコル周りのエラー時に発生
- set_readonly(readonly_: bool) None
読込み専用モードをセットする.
- Parameters:
readonly (bool) – 読込み専用モードの設定値
- Raises:
- set_transaction_isolation(isolation_level: int) None
トランザクション遮断レベルを指定されたものに変更する.
- Parameters:
isolation_level (int) –
- obj:
`TransactionIsolationLevel`内のいずれかの定数値
- Raises:
- property username: str | None
ユーザー名のゲッター
- doquedb.DATETIME
alias of
datetime
- doquedb.DECIMAL
alias of
DecimalData
- exception doquedb.DataError(error_message)
Bases:
DatabaseError
データの処理に関連する例外
- Parameters:
error_message (str) – エラーの説明文
- error_message
エラーの説明文
- Type:
str
- exception doquedb.DatabaseError(error_message: str, state_code: str | None = None, error_code: int | None = None)
Bases:
Error
データベースから取得した例外のベースとなる例外クラス
- Parameters:
error_message (str) – エラーの説明文
state_code (str) – SQLのステート
error_code (int) – エラーコード
- error_message
エラーの説明文
- Type:
str
- state_code
SQLのステート
- Type:
Optional[str]
- error_code
エラーコード
- Type:
Optional[int
- doquedb.Date
alias of
date
- doquedb.DateFromTicks(ticks)
- doquedb.Decimal
alias of
DecimalData
- exception doquedb.Error
Bases:
Exception
警告以外の全ての例外クラスのベースとなる例外クラス
- exception doquedb.IntegrityError(error_message)
Bases:
DatabaseError
データベースのリレーションの整合性に関連する例外
- Parameters:
error_message (str) – エラーの説明文
- error_message
エラーの説明文
- Type:
str
- exception doquedb.InternalError(error_message)
Bases:
DatabaseError
データベースの内部エラーに関連する例外
- Parameters:
error_message (str) – エラーの説明文
- error_message
エラーの説明文
- Type:
str
- doquedb.LANGUAGE
alias of
LanguageData
- doquedb.Language
alias of
LanguageData
- doquedb.NUMBER
alias of
float
- exception doquedb.NotSupportedError(error_message)
Bases:
DatabaseError
サポート外の機能に対する例外
- Parameters:
error_message (str) – エラーの説明文
- error_message
エラーの説明文
- Type:
str
- exception doquedb.OperationalError(error_message)
Bases:
DatabaseError
データベースのオペレーションに関連する例外
- Parameters:
error_message (str) – エラーの説明文
- error_message
エラーの説明文
- Type:
str
- exception doquedb.ProgrammingError(error_message)
Bases:
DatabaseError
プログラミングエラーに関連する例外
- Parameters:
error_message (str) – エラーの説明文
- error_message
エラーの説明文
- Type:
str
- doquedb.ROWID
alias of
int
- doquedb.STRING
alias of
str
- doquedb.Time
alias of
time
- doquedb.TimeFromTicks(ticks)
- doquedb.Timestamp
alias of
datetime
- doquedb.TimestampFromTicks(ticks)
- exception doquedb.Warning
Bases:
Exception
警告のための例外クラス
- doquedb.connect(host: str = 'localhost', port: int = 54321, user: str = None, password: str = None, dbname: str = 'DefaultDB', charset: str = 'utf8', autocommit: bool = False) Connection
DoqueDBと接続し, Connectionオブジェクトを返す.
- Parameters:
host (str) – ホスト名
port (int) – ポート番号
user (str) – ユーザー名
password (str) – パスワード
dbname (int) – データベース名
charset (str) – 文字セット
autocommit (bool) – オートコミット. デフォルトはFalse
- Returns:
Connectionオブジェクト
- Return type: