Versions in this module Expand all Collapse all v1 v1.0.0 Mar 10, 2022 Changes in this version + const ANY + const ARRAY + const ARRAY_TYPE_DOUBLE + const ARRAY_TYPE_FLOAT + const ARRAY_TYPE_INTEGER + const ARRAY_TYPE_LONG + const ARRAY_TYPE_SHORT + const AddressRemapKey + const AlwayseAllowCommitKey + const AppNameKey + const AutoCommitKey + const BFILE_PREC + const BFILE_SCALE + const BIGINT + const BIGINT_PREC + const BINARY + const BIND_IN + const BIND_OUT + const BIT + const BIT_PREC + const BLOB + const BLOB_PREC + const BOOLEAN + const BYTE_MAX + const BYTE_MIN + const BYTE_SIZE + const BatchAllowMaxErrorsKey + const BatchNotOnCallKey + const BatchTypeKey + const BufPrefetchKey + const CHAR + const CLASS + const CLOB + const CLOB_PREC + const CLTN_TYPE_IND_TABLE + const CLTN_TYPE_NST_TABLE + const CLTN_TYPE_VARRAY + const CLUSTER_TYPE_DSC + const CLUSTER_TYPE_DW + const CLUSTER_TYPE_MPP + const CLUSTER_TYPE_NORMAL + const CLUSTER_TYPE_RW + const COLUMN_NAME_LOWER_CASE + const COLUMN_NAME_NATURAL_CASE + const COLUMN_NAME_UPPER_CASE + const COL_MAX_LEN + const COMPATIBLE_MODE_MYSQL + const COMPATIBLE_MODE_ORACLE + const COMPLEX_SCALE + const CURRENCY_PREC + const CURRENCY_SCALE + const CURSOR + const CURSOR_ORACLE + const CipherPathKey + const ClobAsStringKey + const ClusterKey + const ColumnNameCaseKey + const ColumnNameUpperCaseKey + const CommunicationEncryptKey + const CompatibleModeKey + const CompatibleOraKey + const CompressIdKey + const CompressKey + const ConnectTimeoutKey + const ContinueBatchOnErrorKey + const DATE + const DATETIME + const DATETIME_PREC + const DATETIME_TZ + const DATETIME_TZ_PREC + const DATE_PREC + const DDWORD_SIZE + const DECIMAL + const DEFAULT_ORDERBY + const DEFAULT_ORDER_TYPE + const DEFAULT_PAGE_NUM + const DEFAULT_PAGE_SIZE + const DEFAULT_PORT + const DOUBLE + const DOUBLE_PREC + const DO_SWITCH_OFF + const DO_SWITCH_WHEN_CONN_ERROR + const DO_SWITCH_WHEN_EP_RECOVER + const DT_LEN + const DatabaseProductNameKey + const DbAliveCheckFreqDef + const DbAliveCheckFreqKey + const Dec2DoubleKey + const DirectKey + const Dm_build_0 + const Dm_build_1 + const Dm_build_267 + const Dm_build_268 + const Dm_build_269 + const Dm_build_270 + const Dm_build_271 + const Dm_build_272 + const Dm_build_273 + const Dm_build_274 + const Dm_build_275 + const Dm_build_276 + const Dm_build_277 + const Dm_build_278 + const Dm_build_279 + const Dm_build_280 + const Dm_build_281 + const Dm_build_282 + const Dm_build_283 + const Dm_build_284 + const Dm_build_285 + const Dm_build_286 + const Dm_build_287 + const Dm_build_288 + const Dm_build_289 + const Dm_build_290 + const Dm_build_291 + const Dm_build_292 + const Dm_build_293 + const Dm_build_294 + const Dm_build_295 + const Dm_build_296 + const Dm_build_297 + const Dm_build_298 + const Dm_build_299 + const Dm_build_300 + const Dm_build_301 + const Dm_build_302 + const Dm_build_303 + const Dm_build_304 + const Dm_build_305 + const Dm_build_306 + const Dm_build_307 + const Dm_build_308 + const Dm_build_309 + const Dm_build_310 + const Dm_build_311 + const Dm_build_312 + const Dm_build_313 + const Dm_build_314 + const Dm_build_315 + const Dm_build_316 + const Dm_build_317 + const Dm_build_318 + const Dm_build_319 + const Dm_build_320 + const Dm_build_321 + const Dm_build_322 + const Dm_build_323 + const Dm_build_324 + const Dm_build_325 + const Dm_build_326 + const Dm_build_327 + const Dm_build_328 + const Dm_build_329 + const Dm_build_330 + const Dm_build_331 + const Dm_build_332 + const Dm_build_333 + const Dm_build_334 + const Dm_build_335 + const Dm_build_336 + const Dm_build_337 + const Dm_build_338 + const Dm_build_339 + const Dm_build_340 + const Dm_build_341 + const Dm_build_342 + const Dm_build_343 + const Dm_build_344 + const Dm_build_345 + const Dm_build_346 + const Dm_build_347 + const Dm_build_348 + const Dm_build_349 + const Dm_build_350 + const Dm_build_351 + const Dm_build_352 + const Dm_build_353 + const Dm_build_354 + const Dm_build_355 + const Dm_build_356 + const Dm_build_357 + const Dm_build_358 + const Dm_build_359 + const Dm_build_360 + const Dm_build_361 + const Dm_build_362 + const Dm_build_363 + const Dm_build_364 + const Dm_build_365 + const Dm_build_366 + const Dm_build_367 + const Dm_build_368 + const Dm_build_369 + const Dm_build_370 + const Dm_build_371 + const Dm_build_372 + const Dm_build_373 + const Dm_build_374 + const Dm_build_375 + const Dm_build_376 + const Dm_build_377 + const Dm_build_378 + const Dm_build_379 + const Dm_build_380 + const Dm_build_381 + const Dm_build_382 + const Dm_build_383 + const Dm_build_384 + const Dm_build_385 + const Dm_build_386 + const Dm_build_387 + const Dm_build_388 + const Dm_build_389 + const Dm_build_390 + const Dm_build_391 + const Dm_build_392 + const Dm_build_393 + const Dm_build_507 + const Dm_build_508 + const Dm_build_509 + const Dm_build_510 + const Dm_build_582 + const Dm_build_583 + const Dm_build_584 + const Dm_build_585 + const Dm_build_586 + const Dm_build_587 + const Dm_build_588 + const Dm_build_589 + const Dm_build_610 + const Dm_build_611 + const Dm_build_612 + const Dm_build_613 + const Dm_build_614 + const Dm_build_615 + const Dm_build_672 + const Dm_build_673 + const Dm_build_674 + const Dm_build_675 + const Dm_build_676 + const Dm_build_677 + const Dm_build_678 + const Dm_build_679 + const Dm_build_680 + const Dm_build_681 + const Dm_build_682 + const Dm_build_683 + const Dm_build_684 + const Dm_build_685 + const Dm_build_686 + const Dm_build_687 + const Dm_build_688 + const Dm_build_689 + const Dm_build_690 + const Dm_build_691 + const Dm_build_692 + const Dm_build_693 + const Dm_build_694 + const Dm_build_695 + const Dm_build_696 + const Dm_build_712 + const Dm_build_724 + const Dm_build_725 + const Dm_build_761 + const Dm_build_809 + const Dm_build_810 + const Dm_build_811 + const Dm_build_812 + const Dm_build_813 + const Dm_build_814 + const Dm_build_815 + const Dm_build_816 + const Dm_build_817 + const Dm_build_818 + const Dm_build_819 + const Dm_build_820 + const Dm_build_821 + const Dm_build_822 + const Dm_build_823 + const Dm_build_824 + const Dm_build_825 + const Dm_build_826 + const Dm_build_827 + const Dm_build_828 + const Dm_build_829 + const Dm_build_830 + const Dm_build_831 + const DoSwitchKey + const ENCODING_EUCKR + const ENCODING_GB18030 + const ENCODING_UTF8 + const EP_STATUS_ERROR + const EP_STATUS_OK + const EXP_MAX + const EXP_MIN + const EnRsCacheKey + const EpSelectorKey + const EscapeProcessKey + const FLAG_NEGTIVE + const FLAG_POSITIVE + const FLAG_ZERO + const FLOAT32_MAX + const FLOAT32_MIN + const FLOAT_SCALE_MASK + const FLUSH_SIZE + const HostKey + const IGNORE_TARGET_LENGTH + const IGNORE_TARGET_SCALE + const IGNORE_TARGET_TYPE + const INT + const INT16_MAX + const INT16_MIN + const INT32_MAX + const INT32_MIN + const INT64_MAX + const INT64_MIN + const INT8_MAX + const INT8_MIN + const INTERVAL_DT + const INTERVAL_DT_PREC + const INTERVAL_YM + const INTERVAL_YM_PREC + const INT_PREC + const INVALID_VALUE + const IO_TYPE_IN + const IO_TYPE_INOUT + const IO_TYPE_OUT + const IgnoreCaseKey + const IsBdtaRSKey + const IsCompressKey + const KerberosLoginConfPathKey + const KeywordsKey + const LANGUAGE_CN + const LANGUAGE_EN + const LINT64_SIZE + const LOADPREC_DEFAULT + const LOADPREC_MAX + const LOB_FLAG_BYTE + const LOB_FLAG_CHAR + const LOB_IN_ROW + const LOB_OFF_ROW + const LOCAL_TIME_ZONE_SCALE_MASK + const LOGIN_MODE_NORMAL_FIRST + const LOGIN_MODE_PRIMARY_FIRST + const LOGIN_MODE_PRIMARY_ONLY + const LOGIN_MODE_STANDBY_FIRST + const LOGIN_MODE_STANDBY_ONLY + const LOG_ALL + const LOG_DEBUG + const LOG_ERROR + const LOG_INFO + const LOG_OFF + const LOG_SQL + const LOG_WARN + const LanguageKey + const LobModeKey + const LocaleDef + const LogBufferPoolSizeKey + const LogBufferSizeDef + const LogBufferSizeKey + const LogDirKey + const LogFlushFreqDef + const LogFlushFreqKey + const LogFlushQueueSizeDef + const LogFlusherQueueSizeKey + const LogLevelDef + const LogLevelKey + const LoginCertificateKey + const LoginDscCtrlKey + const LoginEncryptKey + const LoginModeKey + const LoginPrimary + const LoginStatusKey + const MAX_FILE_SIZE + const MaxRowsKey + const MppLocalKey + const NBLOB_EX_HEAD_COL_ID + const NBLOB_EX_HEAD_FPA_FILEID + const NBLOB_EX_HEAD_FPA_GRPID + const NBLOB_EX_HEAD_FPA_PAGENO + const NBLOB_EX_HEAD_ROW_ID + const NBLOB_EX_HEAD_SIZE + const NBLOB_EX_HEAD_TABLE_ID + const NBLOB_HEAD_BLOBID + const NBLOB_HEAD_BLOB_LEN + const NBLOB_HEAD_IN_ROW_FLAG + const NBLOB_HEAD_OUTROW_FILEID + const NBLOB_HEAD_OUTROW_GROUPID + const NBLOB_HEAD_OUTROW_PAGENO + const NBLOB_INROW_HEAD_SIZE + const NBLOB_OUTROW_HEAD_SIZE + const NULL + const NULL_PREC + const NUM_NEGTIVE + const NUM_POSITIVE + const OBJ_BLOB_MAGIC + const OFFSET_DAY + const OFFSET_HOUR + const OFFSET_MILLISECOND + const OFFSET_MINUTE + const OFFSET_MONTH + const OFFSET_SECOND + const OFFSET_TIMEZONE + const OFFSET_YEAR + const OsAuthTypeKey + const OsNameKey + const PLTYPE_RECORD + const PROP_NAME_DATASOURCE_ID + const PROP_NAME_FLUSH_FREQ + const PROP_NAME_PAGE_COUNT + const PROP_NAME_PAGE_NUM + const PROP_NAME_PAGE_SIZE + const PROP_NAME_SEARCH + const PROP_NAME_SORT + const PROP_NAME_SORT_FIELD + const PROP_NAME_SORT_TYPE + const PROP_NAME_SQL_ID + const PROP_NAME_TOTAL_ROW_COUNT + const ParamDataEnum_Null + const ParamDataEnum_OFF_ROW + const PasswordKey + const PortKey + const PrimaryKey + const QUA_D + const QUA_DH + const QUA_DHM + const QUA_DHMS + const QUA_H + const QUA_HM + const QUA_HMS + const QUA_M + const QUA_MO + const QUA_MS + const QUA_S + const QUA_Y + const QUA_YM + const READ_LEN + const READ_MAX_SIZE + const REAL + const REAL_PREC + const RECORD + const RESULT_CODE_ERROR + const RESULT_CODE_SUCCESS + const RowPrefetchKey + const RsCacheSizeKey + const RsRefreshFreqKey + const RwAutoDistributeKey + const RwHAKey + const RwIgnoreSqlKey + const RwPercentKey + const RwSeparateKey + const RwStandbyKey + const RwStandbyRecoverTimeKey + const SARRAY + const SECDPREC_DEFAULT + const SECDPREC_MAX + const SERVER_MODE_NORMAL + const SERVER_MODE_PRIMARY + const SERVER_MODE_STANDBY + const SERVER_STATUS_MOUNT + const SERVER_STATUS_OPEN + const SERVER_STATUS_SUSPEND + const SMALLINT + const SMALLINT_PREC + const SORT_MOUNT + const SORT_NORMAL + const SORT_OPEN + const SORT_PRIMARY + const SORT_SERVER_MODE_INVALID + const SORT_SERVER_NOT_ALIVE + const SORT_STANDBY + const SORT_SUSPEND + const SORT_UNKNOWN + const SQL_GET_DSC_EP_SITE + const SQL_SELECT_STANDBY + const SQL_SELECT_STANDBY2 + const STAR + const STAR_ALL + const STATUS_VALID_TIME + const STAT_SQL_REMOVE_LATEST + const STAT_SQL_REMOVE_OLDEST + const SchemaKey + const Seconds_1900_1970 + const SessionTimeoutKey + const SocketTimeoutKey + const SslCertPathKey + const SslFilesPathKey + const SslKeyPathKey + const StatDirKey + const StatEnableDef + const StatEnableKey + const StatFlushFreqDef + const StatFlushFreqKey + const StatHighFreqSqlCountDef + const StatHighFreqSqlCountKey + const StatSlowSqlCountDef + const StatSlowSqlCountKey + const StatSqlMaxCountDef + const StatSqlMaxCountKey + const StatSqlRemoveModeDef + const StatSqlRemoveModeKey + const StmtPoolSizeKey + const SwitchIntervalKey + const SwitchTimesKey + const TIME + const TIME_PREC + const TIME_TZ + const TIME_TZ_PREC + const TIME_ZONE_DEFAULT + const TINYINT + const TINYINT_PREC + const TYPE + const TYPE_FLAG_EXACT + const TYPE_FLAG_RECOMMEND + const TYPE_FLAG_UNKNOWN + const TYPE_HEAD_FIRST + const TYPE_REF + const TYPE_WELL_DISTRIBUTE + const TimeZoneKey + const UINT16_MAX + const UINT16_MIN + const UINT32_MAX + const UINT32_MIN + const UINT64_MAX + const UINT64_MIN + const UKeyNameKey + const UKeyPinKey + const ULINT_SIZE + const UNKNOWN + const URL_DATASOURCE + const URL_DATASOURCE_DETAIL + const URL_SQL + const URL_SQL_DETAIL + const USINT_SIZE + const UrlKey + const UserKey + const UserRemapKey + const VARBINARY + const VARBINARY_PREC + const VARCHAR + const VARCHAR2 + const VARCHAR_PREC + const XDEC_MAX_PREC + const XDEC_SIZE + var AccessLogger = &Logger + var ConnLogger = &Logger + var DB2G db2g + var DSN_INVALID_SCHEMA = newDmError(9001, "error.dsn.invalidSchema") + var DbAliveCheckFreq = DbAliveCheckFreqDef + var Dm_build_394 = [8][256]uint32 + var Dm_build_890 = &dm_build_889 + var ECGO_BATCH_ERROR = newDmError(6093, "error.batchError") + var ECGO_COMMIT_IN_AUTOCOMMIT_MODE = newDmError(6039, "errorCommitInAutoCommitMode") + var ECGO_COMMUNITION_ERROR = newDmError(6001, "error.communicationError") + var ECGO_CONNECTION_SWITCHED = newDmError(20000, "error.connectionSwitched") + var ECGO_CONNECTION_SWITCH_FAILED = newDmError(20001, "error.connectionSwitchFailed") + var ECGO_DATA_CONVERTION_ERROR = newDmError(6007, "error.dataConvertionError") + var ECGO_DATA_OVERFLOW = newDmError(-6102, "error.dataOverflow") + var ECGO_DATA_TOO_LONG = newDmError(6092, "error.dataTooLong") + var ECGO_DATETIME_OVERFLOW = newDmError(-6112, "error.datetimeOverflow") + var ECGO_ERROR_SERVER_VERSION = newDmError(6074, "error.serverVersion") + var ECGO_FATAL_ERROR = newDmError(20004, "error.fatalError") + var ECGO_INIT_SSL_FAILED = newDmError(20002, "error.SSLInitFailed") + var ECGO_INTERVAL_OVERFLOW = newDmError(6066, "error.intervalValueOverflow") + var ECGO_INVALID_ARRAY_LEN = newDmError(6082, "error.invalidArrayLen") + var ECGO_INVALID_BFILE_STR = newDmError(6067, "error.invalidBFile") + var ECGO_INVALID_CIPHER = newDmError(6069, "error.invalidCipher") + var ECGO_INVALID_COLUMN_TYPE = newDmError(6016, "error.invalidColumnType") + var ECGO_INVALID_COMPLEX_TYPE_NAME = newDmError(6079, "error.invalidComplexTypeName") + var ECGO_INVALID_CONN = newDmError(9008, "error.invalidConn") + var ECGO_INVALID_DATETIME_FORMAT = newDmError(6015, "error.invalidDateTimeFormat") + var ECGO_INVALID_DATETIME_VALUE = newDmError(6103, "error.invalidDateTimeValue") + var ECGO_INVALID_HEX = newDmError(6068, "error.invalidHex") + var ECGO_INVALID_LENGTH_OR_OFFSET = newDmError(6057, "error.invalidLenOrOffset") + var ECGO_INVALID_OBJ_BLOB = newDmError(6081, "error.invalidObjBlob") + var ECGO_INVALID_PARAMETER_VALUE = newDmError(6036, "error.invalidParamterValue") + var ECGO_INVALID_SEQUENCE_NUMBER = newDmError(6032, "error.invalidSequenceNumber") + var ECGO_INVALID_SERVER_MODE = newDmError(6091, "error.invalidServerMode") + var ECGO_INVALID_SQL_TYPE = newDmError(6009, "error.invalidSqlType") + var ECGO_INVALID_TIME_INTERVAL = newDmError(6005, "error.invalidTimeInterval") + var ECGO_INVALID_TRAN_ISOLATION = newDmError(6038, "error.invalidTranIsolation") + var ECGO_IS_NULL = newDmError(9012, "error.isNull") + var ECGO_LOB_FREED = newDmError(20003, "error.LobDataHasFreed") + var ECGO_MSG_CHECK_ERROR = newDmError(6002, "error.msgCheckError") + var ECGO_MSG_TOO_LONG = newDmError(6101, "error.msgTooLong") + var ECGO_NOT_EXEC_SQL = newDmError(9006, "error.notExecSQL") + var ECGO_NOT_QUERY_SQL = newDmError(9005, "error.notQuerySQL") + var ECGO_OSAUTH_ERROR = newDmError(6073, "error.osauthError") + var ECGO_PASSWORD_TOO_LONG = newDmError(6076, "error.passwordTooLong") + var ECGO_RESULTSET_CLOSED = newDmError(6034, "errorResultSetColsed") + var ECGO_RESULTSET_IS_READ_ONLY = newDmError(6029, "error.resultsetInReadOnlyStatus") + var ECGO_ROLLBACK_IN_AUTOCOMMIT_MODE = newDmError(6040, "errorRollbackInAutoCommitMode") + var ECGO_STATEMENT_HANDLE_CLOSED = newDmError(6035, "errorStatementHandleClosed") + var ECGO_STORE_IN_NIL_POINTER = newDmError(9011, "error.storeInNilPointer") + var ECGO_STRUCT_MEM_NOT_MATCH = newDmError(6080, "error.structMemNotMatch") + var ECGO_UNKOWN_NETWORK = newDmError(9007, "error.unkownNetWork") + var ECGO_UNSUPPORTED_INPARAM_TYPE = newDmError(9009, "error.unsupportedInparamType") + var ECGO_UNSUPPORTED_OUTPARAM_TYPE = newDmError(9010, "error.unsupportedOutparamType") + var ECGO_UNSUPPORTED_TYPE = newDmError(6006, "error.unsupportedType") + var ECGO_USERNAME_TOO_LONG = newDmError(6075, "error.usernameTooLong") + var EC_BP_WITH_ERROR = newDmError(121, "warning.bpWithErr") + var EC_RN_EXCEED_ROWSET_SIZE = newDmError(-7036, "") + var G2DB g2db + var GlobalProperties = NewProperties() + var INVALID_PARAMETER_NUMBER = newDmError(9003, "error.invalidParameterNumber") + var Locale = LocaleDef + var LogBufferSize = LogBufferSizeDef + var LogDir = LogDirDef + var LogDirDef = os.Getwd() + var LogFilterLogger = &Logger + var LogFlushFreq = LogFlushFreqDef + var LogFlushQueueSize = LogFlushQueueSizeDef + var LogLevel = LogLevelDef + var RWUtil = rwUtil + var SQLName sqlName + var ServerGroupMap = make(map[string]*epGroup) + var StatDir = StatDirDef + var StatDirDef = os.Getwd() + var StatEnable = StatEnableDef + var StatFlushFreq = StatFlushFreqDef + var StatHighFreqSqlCount = StatHighFreqSqlCountDef + var StatSlowSqlCount = StatSlowSqlCountDef + var StatSqlMaxCount = StatSqlMaxCountDef + var StatSqlRemoveMode = StatSqlRemoveModeDef + var THIRD_PART_CIPHER_INIT_FAILED = newDmError(9004, "error.initThirdPartCipherFailed") + var UNSUPPORTED_SCAN = newDmError(9002, "error.unsupported.scan") + func Compress(srcBuffer *Dm_build_1247, offset int, length int, compressID int) ([]byte, error) + func GzlibCompress(srcBuffer *Dm_build_1247, offset int, length int) ([]byte, error) + func GzlibUncompress(srcBytes []byte) ([]byte, error) + func IsSupportedCharset(charset string) bool + func NewExceInfo() *execRetInfo + func NewSqlStat(sql string) *sqlStat + func ParseLogLevel(props *Properties) int + func SetServerGroupProperties(props *Properties, key string, value string) bool + func UnCompress(srcBytes []byte, compressID int) ([]byte, error) + type ArrayDescriptor struct + type DmArray struct + Valid bool + func NewDmArray(typeName string, elements []interface{}) *DmArray + func (array DmArray) Value() (driver.Value, error) + func (da *DmArray) GetBaseTypeName() (string, error) + func (da *DmArray) GetDoubleArray(index int64, count int) ([]float64, error) + func (da *DmArray) GetFloatArray(index int64, count int) ([]float32, error) + func (da *DmArray) GetInt16Array(index int64, count int) ([]int16, error) + func (da *DmArray) GetInt64Array(index int64, count int) ([]int64, error) + func (da *DmArray) GetIntArray(index int64, count int) ([]int, error) + func (da *DmArray) GetObjArray(index int64, count int) (interface{}, error) + func (dest *DmArray) Scan(src interface{}) error + type DmBlob struct + func NewBlob(value []byte) *DmBlob + func (blob *DmBlob) Read(dest []byte) (n int, err error) + func (blob *DmBlob) ReadAt(pos int, dest []byte) (n int, err error) + func (blob *DmBlob) Truncate(length int64) error + func (blob *DmBlob) Write(pos int, src []byte) (n int, err error) + func (blob DmBlob) Value() (driver.Value, error) + func (dest *DmBlob) Scan(src interface{}) error + func (lob *DmBlob) GetLength() (int64, error) + type DmClob struct + func NewClob(value string) *DmClob + func (clob *DmClob) ReadString(pos int, length int) (result string, err error) + func (clob *DmClob) Truncate(length int64) error + func (clob *DmClob) WriteString(pos int, s string) (n int, err error) + func (clob DmClob) Value() (driver.Value, error) + func (dest *DmClob) Scan(src interface{}) error + func (lob *DmClob) GetLength() (int64, error) + type DmConnection struct + Access *dm_build_2 + BackslashEscape bool + ConstParaOpt bool + DDLAutoCommit bool + DbName string + DbTimezone int16 + Execute2 bool + FailedAttempts int32 + FormatDate string + FormatTime string + FormatTimeTZ string + FormatTimestamp string + FormatTimestampTZ string + GlobalServerSeries int + GraceTimeRemainder int32 + Guid string + InstanceName string + IsoLevel int32 + LastLoginIP string + LastLoginTime string + LifeTimeRemainder int16 + LobEmptyCompOrcl bool + Local bool + LoginWarningID int32 + Malini2 bool + MaxRowSize int32 + MsgVersion int32 + NewLobFlag bool + OracleDateLanguage byte + ReadOnly bool + Schema string + ServerVersion string + SessionID int64 + StandbyCount int32 + StandbyHost string + StandbyPort int32 + SvrMode int32 + SvrStat int32 + TrxStatus int32 + func (conn *DmConnection) CompatibleMysql() bool + func (conn *DmConnection) CompatibleOracle() bool + func (dc *DmConnection) Begin() (driver.Tx, error) + func (dc *DmConnection) BeginTx(ctx context.Context, opts driver.TxOptions) (driver.Tx, error) + func (dc *DmConnection) CheckNamedValue(nv *driver.NamedValue) error + func (dc *DmConnection) Close() error + func (dc *DmConnection) Commit() error + func (dc *DmConnection) Exec(query string, args []driver.Value) (driver.Result, error) + func (dc *DmConnection) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) + func (dc *DmConnection) Ping(ctx context.Context) error + func (dc *DmConnection) Prepare(query string) (driver.Stmt, error) + func (dc *DmConnection) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + func (dc *DmConnection) Query(query string, args []driver.Value) (driver.Rows, error) + func (dc *DmConnection) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) + func (dc *DmConnection) ResetSession(ctx context.Context) error + func (dc *DmConnection) Rollback() error + type DmConnector struct + func (c *DmConnector) BuildDSN() string + func (c *DmConnector) Connect(ctx context.Context) (driver.Conn, error) + func (c *DmConnector) Driver() driver.Driver + type DmDecimal struct + Valid bool + func NewDecimalFromBigFloat(bigFloat *big.Float) (*DmDecimal, error) + func NewDecimalFromBigInt(bigInt *big.Int) (*DmDecimal, error) + func NewDecimalFromFloat64(x float64) (*DmDecimal, error) + func NewDecimalFromInt64(x int64) (*DmDecimal, error) + func NewDecimalFromString(s string) (*DmDecimal, error) + func (d DmDecimal) Sign() int + func (d DmDecimal) String() string + func (d DmDecimal) ToBigFloat() *big.Float + func (d DmDecimal) ToBigInt() *big.Int + func (d DmDecimal) ToFloat64() float64 + func (d DmDecimal) ToInt64() int64 + func (d DmDecimal) Value() (driver.Value, error) + func (dest *DmDecimal) Scan(src interface{}) error + type DmDriver struct + func (d *DmDriver) Open(dsn string) (driver.Conn, error) + func (d *DmDriver) OpenConnector(dsn string) (driver.Connector, error) + type DmError struct + ErrCode int32 + ErrText string + func (dmError *DmError) Error() string + func (dmError *DmError) FormatStack() string + type DmIntervalDT struct + Valid bool + func NewDmIntervalDTByString(str string) (dt *DmIntervalDT, err error) + func (dest *DmIntervalDT) Scan(src interface{}) error + func (dt *DmIntervalDT) GetDTType() byte + func (dt *DmIntervalDT) GetDay() int + func (dt *DmIntervalDT) GetHour() int + func (dt *DmIntervalDT) GetMinute() int + func (dt *DmIntervalDT) GetMsec() int + func (dt *DmIntervalDT) GetSecond() int + func (dt *DmIntervalDT) String() string + func (dt DmIntervalDT) Value() (driver.Value, error) + type DmIntervalYM struct + Valid bool + func NewDmIntervalYMByString(str string) (ym *DmIntervalYM, err error) + func (dest *DmIntervalYM) Scan(src interface{}) error + func (ym *DmIntervalYM) GetMonth() int + func (ym *DmIntervalYM) GetYMType() byte + func (ym *DmIntervalYM) GetYear() int + func (ym *DmIntervalYM) String() string + func (ym DmIntervalYM) Value() (driver.Value, error) + type DmResult struct + func (r *DmResult) LastInsertId() (int64, error) + func (r *DmResult) RowsAffected() (int64, error) + type DmRows struct + CurrentRows *innerRows + func (r *DmRows) Close() error + func (r *DmRows) ColumnTypeDatabaseTypeName(index int) string + func (r *DmRows) ColumnTypeLength(index int) (length int64, ok bool) + func (r *DmRows) ColumnTypeNullable(index int) (nullable, ok bool) + func (r *DmRows) ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool) + func (r *DmRows) ColumnTypeScanType(index int) reflect.Type + func (r *DmRows) Columns() []string + func (r *DmRows) HasNextResultSet() bool + func (r *DmRows) Next(dest []driver.Value) error + func (r *DmRows) NextResultSet() error + type DmStatement struct + func NewDmStmt(conn *DmConnection, sql string) (*DmStatement, error) + func (s *DmStatement) CheckNamedValue(nv *driver.NamedValue) error + func (s *DmStatement) Close() error + func (s *DmStatement) Exec(args []driver.Value) (driver.Result, error) + func (s *DmStatement) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (s *DmStatement) NumInput() int + func (s *DmStatement) Query(args []driver.Value) (driver.Rows, error) + func (s *DmStatement) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error) + type DmStruct struct + Valid bool + func (dest *DmStruct) Scan(src interface{}) error + func (dt DmStruct) Value() (driver.Value, error) + type DmTimestamp struct + Valid bool + func NewDmTimestampFromString(str string) (*DmTimestamp, error) + func NewDmTimestampFromTime(time time.Time) *DmTimestamp + func (dest *DmTimestamp) Scan(src interface{}) error + func (dmTimestamp *DmTimestamp) CompareTo(ts DmTimestamp) int + func (dmTimestamp *DmTimestamp) GetDt() []int + func (dmTimestamp *DmTimestamp) String() string + func (dmTimestamp *DmTimestamp) ToTime() time.Time + func (dmTimestamp DmTimestamp) Value() (driver.Value, error) + type Dm_build_1147 struct + func Dm_build_1159(dm_build_1160 io.Reader, dm_build_1161 transform.Transformer, ...) *Dm_build_1147 + func (dm_build_1165 *Dm_build_1147) Read(dm_build_1166 []byte) (int, error) + type Dm_build_1169 struct + func Dm_build_1173() *Dm_build_1169 + func (dm_build_1175 *Dm_build_1169) Dm_build_1174() int + func (dm_build_1177 *Dm_build_1169) Dm_build_1176(dm_build_1178 *Dm_build_1247, dm_build_1179 int) int + func (dm_build_1183 *Dm_build_1169) Dm_build_1182(dm_build_1184 []byte, dm_build_1185 int, dm_build_1186 int) int + func (dm_build_1190 *Dm_build_1169) Dm_build_1189(dm_build_1191 io.Writer, dm_build_1192 int) int + func (dm_build_1196 *Dm_build_1169) Dm_build_1195(dm_build_1197 []byte, dm_build_1198 int, dm_build_1199 int) + func (dm_build_1207 *Dm_build_1169) Dm_build_1206(dm_build_1208 *Dm_build_1169) + func (dm_build_1217 *Dm_build_1169) Dm_build_1216() []byte + type Dm_build_1247 struct + func Dm_build_1250(dm_build_1251 int) *Dm_build_1247 + func Dm_build_1252(dm_build_1253 []byte) *Dm_build_1247 + func (dm_build_1260 *Dm_build_1247) Dm_build_1259() int + func (dm_build_1262 *Dm_build_1247) Dm_build_1261(dm_build_1263 int) *Dm_build_1247 + func (dm_build_1265 *Dm_build_1247) Dm_build_1264(dm_build_1266 int) *Dm_build_1247 + func (dm_build_1268 *Dm_build_1247) Dm_build_1267() int + func (dm_build_1270 *Dm_build_1247) Dm_build_1269(dm_build_1271 bool) int + func (dm_build_1273 *Dm_build_1247) Dm_build_1272(dm_build_1274 int, dm_build_1275 bool, dm_build_1276 bool) *Dm_build_1247 + func (dm_build_1278 *Dm_build_1247) Dm_build_1277(dm_build_1279 io.Reader, dm_build_1280 int) int + func (dm_build_1284 *Dm_build_1247) Dm_build_1283(dm_build_1285 io.Writer) *Dm_build_1247 + func (dm_build_1287 *Dm_build_1247) Dm_build_1286(dm_build_1288 bool) int + func (dm_build_1291 *Dm_build_1247) Dm_build_1290(dm_build_1292 byte) int + func (dm_build_1295 *Dm_build_1247) Dm_build_1294(dm_build_1296 int16) int + func (dm_build_1299 *Dm_build_1247) Dm_build_1298(dm_build_1300 int32) int + func (dm_build_1303 *Dm_build_1247) Dm_build_1302(dm_build_1304 uint8) int + func (dm_build_1307 *Dm_build_1247) Dm_build_1306(dm_build_1308 uint16) int + func (dm_build_1311 *Dm_build_1247) Dm_build_1310(dm_build_1312 uint32) int + func (dm_build_1315 *Dm_build_1247) Dm_build_1314(dm_build_1316 uint64) int + func (dm_build_1319 *Dm_build_1247) Dm_build_1318(dm_build_1320 float32) int + func (dm_build_1323 *Dm_build_1247) Dm_build_1322(dm_build_1324 float64) int + func (dm_build_1327 *Dm_build_1247) Dm_build_1326(dm_build_1328 []byte) int + func (dm_build_1331 *Dm_build_1247) Dm_build_1330(dm_build_1332 []byte) int + func (dm_build_1334 *Dm_build_1247) Dm_build_1333(dm_build_1335 []byte) int + func (dm_build_1337 *Dm_build_1247) Dm_build_1336(dm_build_1338 []byte) int + func (dm_build_1340 *Dm_build_1247) Dm_build_1339(dm_build_1341 []byte) int + func (dm_build_1343 *Dm_build_1247) Dm_build_1342(dm_build_1344 string, dm_build_1345 string, dm_build_1346 *DmConnection) int + func (dm_build_1349 *Dm_build_1247) Dm_build_1348(dm_build_1350 string, dm_build_1351 string, dm_build_1352 *DmConnection) int + func (dm_build_1355 *Dm_build_1247) Dm_build_1354(dm_build_1356 string, dm_build_1357 string, dm_build_1358 *DmConnection) int + func (dm_build_1361 *Dm_build_1247) Dm_build_1360(dm_build_1362 string, dm_build_1363 string, dm_build_1364 *DmConnection) int + func (dm_build_1367 *Dm_build_1247) Dm_build_1366() byte + func (dm_build_1370 *Dm_build_1247) Dm_build_1369() int16 + func (dm_build_1373 *Dm_build_1247) Dm_build_1372() int32 + func (dm_build_1376 *Dm_build_1247) Dm_build_1375() int64 + func (dm_build_1379 *Dm_build_1247) Dm_build_1378() float32 + func (dm_build_1382 *Dm_build_1247) Dm_build_1381() float64 + func (dm_build_1385 *Dm_build_1247) Dm_build_1384() uint8 + func (dm_build_1388 *Dm_build_1247) Dm_build_1387() uint16 + func (dm_build_1391 *Dm_build_1247) Dm_build_1390() uint32 + func (dm_build_1394 *Dm_build_1247) Dm_build_1393(dm_build_1395 int) []byte + func (dm_build_1398 *Dm_build_1247) Dm_build_1397() []byte + func (dm_build_1400 *Dm_build_1247) Dm_build_1399() []byte + func (dm_build_1402 *Dm_build_1247) Dm_build_1401() []byte + func (dm_build_1404 *Dm_build_1247) Dm_build_1403(dm_build_1405 int) []byte + func (dm_build_1407 *Dm_build_1247) Dm_build_1406() []byte + func (dm_build_1410 *Dm_build_1247) Dm_build_1409(dm_build_1411 int, dm_build_1412 string, dm_build_1413 *DmConnection) string + func (dm_build_1415 *Dm_build_1247) Dm_build_1414(dm_build_1416 string, dm_build_1417 *DmConnection) string + func (dm_build_1419 *Dm_build_1247) Dm_build_1418(dm_build_1420 string, dm_build_1421 *DmConnection) string + func (dm_build_1423 *Dm_build_1247) Dm_build_1422(dm_build_1424 string, dm_build_1425 *DmConnection) string + func (dm_build_1427 *Dm_build_1247) Dm_build_1426(dm_build_1428 string, dm_build_1429 *DmConnection) string + func (dm_build_1431 *Dm_build_1247) Dm_build_1430(dm_build_1432 int, dm_build_1433 byte) int + func (dm_build_1435 *Dm_build_1247) Dm_build_1434(dm_build_1436 int, dm_build_1437 int16) int + func (dm_build_1439 *Dm_build_1247) Dm_build_1438(dm_build_1440 int, dm_build_1441 int32) int + func (dm_build_1443 *Dm_build_1247) Dm_build_1442(dm_build_1444 int, dm_build_1445 int64) int + func (dm_build_1447 *Dm_build_1247) Dm_build_1446(dm_build_1448 int, dm_build_1449 float32) int + func (dm_build_1451 *Dm_build_1247) Dm_build_1450(dm_build_1452 int, dm_build_1453 float64) int + func (dm_build_1455 *Dm_build_1247) Dm_build_1454(dm_build_1456 int, dm_build_1457 uint8) int + func (dm_build_1459 *Dm_build_1247) Dm_build_1458(dm_build_1460 int, dm_build_1461 uint16) int + func (dm_build_1463 *Dm_build_1247) Dm_build_1462(dm_build_1464 int, dm_build_1465 uint32) int + func (dm_build_1467 *Dm_build_1247) Dm_build_1466(dm_build_1468 int, dm_build_1469 []byte) int + func (dm_build_1471 *Dm_build_1247) Dm_build_1470(dm_build_1472 int, dm_build_1473 []byte) int + func (dm_build_1475 *Dm_build_1247) Dm_build_1474(dm_build_1476 int, dm_build_1477 []byte) int + func (dm_build_1479 *Dm_build_1247) Dm_build_1478(dm_build_1480 int, dm_build_1481 []byte) int + func (dm_build_1483 *Dm_build_1247) Dm_build_1482(dm_build_1484 int, dm_build_1485 []byte) int + func (dm_build_1487 *Dm_build_1247) Dm_build_1486(dm_build_1488 int, dm_build_1489 string, dm_build_1490 string, ...) int + func (dm_build_1493 *Dm_build_1247) Dm_build_1492(dm_build_1494 int, dm_build_1495 string, dm_build_1496 string, ...) int + func (dm_build_1499 *Dm_build_1247) Dm_build_1498(dm_build_1500 int, dm_build_1501 string, dm_build_1502 string, ...) int + func (dm_build_1505 *Dm_build_1247) Dm_build_1504(dm_build_1506 int, dm_build_1507 string, dm_build_1508 string, ...) int + func (dm_build_1511 *Dm_build_1247) Dm_build_1510(dm_build_1512 int) byte + func (dm_build_1514 *Dm_build_1247) Dm_build_1513(dm_build_1515 int) int16 + func (dm_build_1517 *Dm_build_1247) Dm_build_1516(dm_build_1518 int) int32 + func (dm_build_1520 *Dm_build_1247) Dm_build_1519(dm_build_1521 int) int64 + func (dm_build_1523 *Dm_build_1247) Dm_build_1522(dm_build_1524 int) float32 + func (dm_build_1526 *Dm_build_1247) Dm_build_1525(dm_build_1527 int) float64 + func (dm_build_1529 *Dm_build_1247) Dm_build_1528(dm_build_1530 int) uint8 + func (dm_build_1532 *Dm_build_1247) Dm_build_1531(dm_build_1533 int) uint16 + func (dm_build_1535 *Dm_build_1247) Dm_build_1534(dm_build_1536 int) uint32 + func (dm_build_1538 *Dm_build_1247) Dm_build_1537(dm_build_1539 int, dm_build_1540 int) []byte + func (dm_build_1542 *Dm_build_1247) Dm_build_1541(dm_build_1543 int) []byte + func (dm_build_1546 *Dm_build_1247) Dm_build_1545(dm_build_1547 int) []byte + func (dm_build_1550 *Dm_build_1247) Dm_build_1549(dm_build_1551 int) []byte + func (dm_build_1554 *Dm_build_1247) Dm_build_1553(dm_build_1555 int) []byte + func (dm_build_1558 *Dm_build_1247) Dm_build_1557(dm_build_1559 int, dm_build_1560 string, dm_build_1561 *DmConnection) string + func (dm_build_1563 *Dm_build_1247) Dm_build_1562(dm_build_1564 int, dm_build_1565 string, dm_build_1566 *DmConnection) string + func (dm_build_1568 *Dm_build_1247) Dm_build_1567(dm_build_1569 int, dm_build_1570 string, dm_build_1571 *DmConnection) string + func (dm_build_1573 *Dm_build_1247) Dm_build_1572(dm_build_1574 int, dm_build_1575 string, dm_build_1576 *DmConnection) string + type Dm_build_495 struct + type ExecuteTypeEnum int + const Execute + const ExecuteQuery + const ExecuteUpdate + type GoStat struct + type IDGenerator int64 + type InterfaceTypeData interface + type LogRecord struct + func (record *LogRecord) GetError() error + func (record *LogRecord) GetReturnValue() interface{} + func (record *LogRecord) GetSql() string + func (record *LogRecord) GetUsedTime() time.Duration + func (record *LogRecord) Set(source interface{}, method string, params ...interface{}) + func (record *LogRecord) SetError(err error) + func (record *LogRecord) SetReturnValue(retValue interface{}) + func (record *LogRecord) SetSql(sql string) + func (record *LogRecord) SetUsedTime(usedTime time.Duration) + func (record *LogRecord) ToString() string + type Logger struct + func (logger Logger) Debug(msg string) + func (logger Logger) DebugWithErr(msg string, err error) + func (logger Logger) ErrorWithErr(msg string, err error) + func (logger Logger) Info(msg string) + func (logger Logger) IsDebugEnabled() bool + func (logger Logger) IsErrorEnabled() bool + func (logger Logger) IsInfoEnabled() bool + func (logger Logger) IsSqlEnabled() bool + func (logger Logger) IsWarnEnabled() bool + func (logger Logger) Sql(msg string) + func (logger Logger) Warn(msg string) + type OptParameter struct + func (parameter *OptParameter) String() string + type Properties struct + func NewProperties() *Properties + func (g *Properties) GetBool(key string, def bool) bool + func (g *Properties) GetInt(key string, def int, min int, max int) int + func (g *Properties) GetString(key, def string) string + func (g *Properties) GetStringArray(key string, def []string) []string + func (g *Properties) GetTrimString(key string, def string) string + func (g *Properties) IsNil() bool + func (g *Properties) Len() int + func (g *Properties) Set(key, value string) + func (g *Properties) SetDiffProperties(p *Properties) + func (g *Properties) SetIfNotExist(key, value string) + func (g *Properties) SetProperties(p *Properties) + type RWSiteEnum int + const ANYSITE + const PRIMARY + const STANDBY + type SqlStatValue struct + type StatReader struct + type StructDescriptor struct + type TypeData struct + var TypeDataSV TypeData + type TypeDescriptor struct