o2m

package
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright © 2020 Marvin

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssessOracleColumnNameLengthCheck added in v1.0.8

func AssessOracleColumnNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableColumnNameLengthCheck, ReportSummary, error)

func AssessOracleDBOverview added in v1.0.8

func AssessOracleDBOverview(oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible, reportName, reportUser string) (*ReportOverview, ReportSummary, error)

Oracle Database Overview

func AssessOracleIndexNameLengthCheck added in v1.0.8

func AssessOracleIndexNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableIndexNameLengthCheck, ReportSummary, error)

func AssessOracleMaxActiveSessionCount added in v1.0.8

func AssessOracleMaxActiveSessionCount(schemaName []string, oracle *oracle.Oracle) ([]SchemaActiveSession, ReportSummary, error)

func AssessOraclePartitionTableCountsCheck added in v1.0.8

func AssessOraclePartitionTableCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaPartitionTableCountsCheck, ReportSummary, error)

Oracle Database Check

func AssessOracleSchemaCodeOverview added in v1.0.8

func AssessOracleSchemaCodeOverview(schemaName []string, oracle *oracle.Oracle) ([]SchemaCodeObject, ReportSummary, error)

func AssessOracleSchemaColumnTypeCompatible added in v1.0.8

func AssessOracleSchemaColumnTypeCompatible(schemaName []string, oracle *oracle.Oracle, buildinDatatypeMap map[string]meta.BuildinDatatypeRule) ([]SchemaColumnTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaConstraintTypeCompatible added in v1.0.8

func AssessOracleSchemaConstraintTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaConstraintTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaDefaultValue added in v1.0.8

func AssessOracleSchemaDefaultValue(schemaName []string, oracle *oracle.Oracle, defaultValueMap map[string]meta.BuildinGlobalDefaultval) ([]SchemaDefaultValueCompatibles, ReportSummary, error)

func AssessOracleSchemaIndexTypeCompatible added in v1.0.8

func AssessOracleSchemaIndexTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaIndexTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaMaterializedViewOverview added in v1.0.8

func AssessOracleSchemaMaterializedViewOverview(schemaName []string, oracle *oracle.Oracle) ([]SchemaMaterializedViewObject, ReportSummary, error)

func AssessOracleSchemaObjectTypeCompatible added in v1.0.8

func AssessOracleSchemaObjectTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaObjectTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaOverview added in v1.0.8

func AssessOracleSchemaOverview(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableSizeData, ReportSummary, error)

Oracle Database Reference

func AssessOracleSchemaPartitionTypeCompatible added in v1.0.8

func AssessOracleSchemaPartitionTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaPartitionTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaSubPartitionTypeCompatible added in v1.0.8

func AssessOracleSchemaSubPartitionTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaSubPartitionTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaSynonymOverview added in v1.0.8

func AssessOracleSchemaSynonymOverview(schemaName []string, oracle *oracle.Oracle) ([]SchemaSynonymObject, ReportSummary, error)

func AssessOracleSchemaTableAvgRowLengthTOP added in v1.0.8

func AssessOracleSchemaTableAvgRowLengthTOP(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableAvgRowLengthTOP, ReportSummary, error)

func AssessOracleSchemaTableNumberTypeEqual0 added in v1.0.8

func AssessOracleSchemaTableNumberTypeEqual0(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableNumberTypeEqual0, ReportSummary, error)

func AssessOracleSchemaTableRowsTOP added in v1.0.8

func AssessOracleSchemaTableRowsTOP(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableRowsTOP, ReportSummary, error)

func AssessOracleSchemaTableTypeCompatible added in v1.0.8

func AssessOracleSchemaTableTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaTableTypeCompatibles, ReportSummary, error)

Oracle Database Compatible

func AssessOracleSchemaTemporaryTableCompatible added in v1.0.8

func AssessOracleSchemaTemporaryTableCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaTemporaryTableTypeCompatibles, ReportSummary, error)

func AssessOracleSchemaViewTypeCompatible added in v1.0.8

func AssessOracleSchemaViewTypeCompatible(schemaName []string, oracle *oracle.Oracle, objAssessCompsMap map[string]meta.BuildinObjectCompatible) ([]SchemaViewTypeCompatibles, ReportSummary, error)

func AssessOracleSequenceNameLengthCheck added in v1.0.8

func AssessOracleSequenceNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaSequenceNameLengthCheck, ReportSummary, error)

func AssessOracleTableColumnCountsCheck added in v1.0.8

func AssessOracleTableColumnCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableColumnCountsCheck, ReportSummary, error)

func AssessOracleTableIndexCountsCheck added in v1.0.8

func AssessOracleTableIndexCountsCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableIndexCountsCheck, ReportSummary, error)

func AssessOracleTableIndexRowLengthCheck added in v1.0.8

func AssessOracleTableIndexRowLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableIndexRowLengthCheck, ReportSummary, error)

func AssessOracleTableNameLengthCheck added in v1.0.8

func AssessOracleTableNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableNameLengthCheck, ReportSummary, error)

func AssessOracleTableRowLengthCheck added in v1.0.8

func AssessOracleTableRowLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaTableRowLengthCheck, ReportSummary, error)

func AssessOracleUsernameLengthCheck added in v1.0.8

func AssessOracleUsernameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]UsernameLengthCheck, ReportSummary, error)

func AssessOracleViewNameLengthCheck added in v1.0.8

func AssessOracleViewNameLengthCheck(schemaName []string, oracle *oracle.Oracle) ([]SchemaViewNameLengthCheck, ReportSummary, error)

func GenNewHTMLReport

func GenNewHTMLReport(report *Report, file *os.File) error

func GetAssessDatabaseCheckResult added in v1.0.8

func GetAssessDatabaseCheckResult(schemaName []string, oracle *oracle.Oracle) (*ReportCheck, *ReportSummary, error)

Oracle Database Check

func GetAssessDatabaseCompatibleResult added in v1.0.8

func GetAssessDatabaseCompatibleResult(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, schemaName []string) (*ReportCompatible, *ReportSummary, error)

Oracle Database Compatible

func GetAssessDatabaseOverviewResult added in v1.0.8

func GetAssessDatabaseOverviewResult(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, reportName, reportUser, dbTypeS, dbTypeT string) (*ReportOverview, ReportSummary, error)

Oracle Database Overview

func GetAssessDatabaseRelatedResult added in v1.0.8

func GetAssessDatabaseRelatedResult(schemaName []string, oracle *oracle.Oracle) (*ReportRelated, *ReportSummary, error)

Oracle Database Related

Types

type Assess added in v1.0.8

type Assess struct {
	// contains filtered or unexported fields
}

func NewAssess added in v1.0.8

func NewAssess(ctx context.Context, cfg *config.Config) (*Assess, error)

func (*Assess) Assess added in v1.0.8

func (r *Assess) Assess() error

type Report

func GetAssessDatabaseReport added in v1.0.8

func GetAssessDatabaseReport(ctx context.Context, metaDB *meta.Meta, oracle *oracle.Oracle, schemaName []string, reportName, reportUser, dbTypeS, dbTypeT string) (*Report, error)

type ReportCheck

type ReportCheck struct {
	ListSchemaPartitionTableCountsCheck  []SchemaPartitionTableCountsCheck  `json:"list_schema_partition_table_counts_check"`
	ListSchemaTableRowLengthCheck        []SchemaTableRowLengthCheck        `json:"list_schema_table_row_length_check"`
	ListSchemaTableIndexRowLengthCheck   []SchemaTableIndexRowLengthCheck   `json:"list_schema_table_index_row_length_check"`
	ListSchemaTableColumnCountsCheck     []SchemaTableColumnCountsCheck     `json:"list_schema_table_column_counts_check"`
	ListSchemaIndexCountsCheck           []SchemaTableIndexCountsCheck      `json:"list_schema_index_counts_check"`
	ListUsernameLengthCheck              []UsernameLengthCheck              `json:"list_username_length_check"`
	ListSchemaTableNameLengthCheck       []SchemaTableNameLengthCheck       `json:"list_schema_table_name_length_check"`
	ListSchemaTableColumnNameLengthCheck []SchemaTableColumnNameLengthCheck `json:"list_schema_table_column_name_length_check"`
	ListSchemaTableIndexNameLengthCheck  []SchemaTableIndexNameLengthCheck  `json:"list_schema_table_index_name_length_check"`
	ListSchemaViewNameLengthCheck        []SchemaViewNameLengthCheck        `json:"list_schema_view_name_length_check"`
	ListSchemaSequenceNameLengthCheck    []SchemaSequenceNameLengthCheck    `json:"list_schema_sequence_name_length_check"`
}

func (*ReportCheck) String added in v1.0.8

func (rc *ReportCheck) String() string

type ReportCompatible added in v1.0.8

type ReportCompatible struct {
	ListSchemaTableTypeCompatibles          []SchemaTableTypeCompatibles          `json:"list_schema_table_type_compatibles"`
	ListSchemaColumnTypeCompatibles         []SchemaColumnTypeCompatibles         `json:"list_schema_column_type_compatibles"`
	ListSchemaConstraintTypeCompatibles     []SchemaConstraintTypeCompatibles     `json:"list_schema_constraint_type_compatibles"`
	ListSchemaIndexTypeCompatibles          []SchemaIndexTypeCompatibles          `json:"list_schema_index_type_compatibles"`
	ListSchemaDefaultValueCompatibles       []SchemaDefaultValueCompatibles       `json:"list_schema_default_value_compatibles"`
	ListSchemaViewTypeCompatibles           []SchemaViewTypeCompatibles           `json:"list_schema_view_type_compatibles"`
	ListSchemaObjectTypeCompatibles         []SchemaObjectTypeCompatibles         `json:"list_schema_object_type_compatibles"`
	ListSchemaPartitionTypeCompatibles      []SchemaPartitionTypeCompatibles      `json:"list_schema_partition_type_compatibles"`
	ListSchemaSubPartitionTypeCompatibles   []SchemaSubPartitionTypeCompatibles   `json:"list_schema_sub_partition_type_compatibles"`
	ListSchemaTemporaryTableTypeCompatibles []SchemaTemporaryTableTypeCompatibles `json:"list_schema_temporary_table_type_compatibles"`
}

func (*ReportCompatible) String added in v1.0.8

func (sc *ReportCompatible) String() string

type ReportOverview

type ReportOverview struct {
	ReportName        string `json:"report_name"`
	ReportUser        string `json:"report_user"`
	HostName          string `json:"host_name"`
	PlatformName      string `json:"platform_name"`
	DBName            string `json:"db_name"`
	GlobalDBName      string `json:"global_db_name"`
	ClusterDB         string `json:"cluster_db"`
	ClusterDBInstance string `json:"cluster_db_instance"`
	InstanceName      string `json:"instance_name"`
	InstanceNumber    string `json:"instance_number"`
	ThreadNumber      string `json:"thread_number"`
	BlockSize         string `json:"block_size"`
	TotalUsedSize     string `json:"total_used_size"`
	HostCPUS          string `json:"host_cpus"`
	HostMem           string `json:"host_mem"`
	CharacterSet      string `json:"character_set"`
}

func (*ReportOverview) String added in v1.0.8

func (ro *ReportOverview) String() string

type ReportRelated added in v1.0.8

type ReportRelated struct {
	ListSchemaActiveSession          []SchemaActiveSession          `json:"list_schema_active_session"`
	ListSchemaTableSizeData          []SchemaTableSizeData          `json:"list_schema_table_size_data"`
	ListSchemaTableRowsTOP           []SchemaTableRowsTOP           `json:"list_schema_table_rows_top"`
	ListSchemaCodeObject             []SchemaCodeObject             `json:"list_schema_code_object"`
	ListSchemaSynonymObject          []SchemaSynonymObject          `json:"list_schema_synonym_object"`
	ListSchemaMaterializedViewObject []SchemaMaterializedViewObject `json:"list_schema_materialized_view_object"`
	ListSchemaTableAvgRowLengthTOP   []SchemaTableAvgRowLengthTOP   `json:"list_schema_table_avg_row_length_top"`
	ListSchemaTableNumberTypeEqual0  []SchemaTableNumberTypeEqual0  `json:"list_schema_table_number_type_equal_0"`
}

func (*ReportRelated) String added in v1.0.8

func (rr *ReportRelated) String() string

type ReportSummary added in v1.0.8

type ReportSummary struct {
	AssessType    string `json:"assess_type"`
	AssessName    string `json:"assess_name"`
	AssessTotal   int    `json:"assess_total"`
	Compatible    int    `json:"compatible"`
	Incompatible  int    `json:"incompatible"`
	Convertible   int    `json:"convertible"`
	InConvertible int    `json:"inconvertible"`
}

func (*ReportSummary) String added in v1.0.8

func (ro *ReportSummary) String() string

type SchemaActiveSession added in v1.0.8

type SchemaActiveSession struct {
	Rownum         string `json:"rownum"`
	DBID           string `json:"dbid"`
	InstanceNumber string `json:"instance_number"`
	SampleID       string `json:"sample_id"`
	SampleTime     string `json:"sample_time"`
	SessionCounts  string `json:"session_counts"`
}

func (*SchemaActiveSession) String added in v1.0.8

func (ro *SchemaActiveSession) String() string

type SchemaCodeObject added in v1.0.8

type SchemaCodeObject struct {
	Schema     string `json:"schema"`
	ObjectName string `json:"object_name"`
	ObjectType string `json:"object_type"`
	Lines      string `json:"lines"`
}

func (*SchemaCodeObject) String added in v1.0.8

func (ro *SchemaCodeObject) String() string

type SchemaColumnTypeCompatibles added in v1.0.8

type SchemaColumnTypeCompatibles struct {
	Schema        string `json:"schema"`
	ColumnType    string `json:"column_type"`
	ObjectCounts  string `json:"object_counts"`
	MaxDataLength string `json:"max_data_length"`
	ColumnTypeMap string `json:"column_type_map"`
	IsEquivalent  string `json:"is_equivalent"`
}

func (*SchemaColumnTypeCompatibles) String added in v1.0.8

func (sc *SchemaColumnTypeCompatibles) String() string

type SchemaConstraintTypeCompatibles added in v1.0.8

type SchemaConstraintTypeCompatibles struct {
	Schema         string `json:"schema"`
	ConstraintType string `json:"constraint_type"`
	ObjectCounts   string `json:"object_counts"`
	IsCompatible   string `json:"is_compatible"`
	IsConvertible  string `json:"is_convertible"`
}

func (*SchemaConstraintTypeCompatibles) String added in v1.0.8

type SchemaDefaultValueCompatibles added in v1.0.8

type SchemaDefaultValueCompatibles struct {
	Schema             string `json:"schema"`
	ColumnDefaultValue string `json:"column_default_value"`
	ObjectCounts       string `json:"object_counts"`
	DefaultValueMap    string `json:"default_value_map"`
	IsCompatible       string `json:"is_compatible"`
	IsConvertible      string `json:"is_convertible"`
}

func (*SchemaDefaultValueCompatibles) String added in v1.0.8

type SchemaIndexTypeCompatibles added in v1.0.8

type SchemaIndexTypeCompatibles struct {
	Schema        string `json:"schema"`
	IndexType     string `json:"index_type"`
	ObjectCounts  string `json:"object_counts"`
	IsCompatible  string `json:"is_compatible"`
	IsConvertible string `json:"is_convertible"`
}

func (*SchemaIndexTypeCompatibles) String added in v1.0.8

func (sc *SchemaIndexTypeCompatibles) String() string

type SchemaMaterializedViewObject added in v1.0.8

type SchemaMaterializedViewObject struct {
	Schema            string `json:"schema"`
	MviewName         string `json:"mview_name"`
	RewriteCapability string `json:"rewrite_capability"`
	RefreshMode       string `json:"refresh_mode"`
	RefreshMethod     string `json:"refresh_method"`
	FastRefreshable   string `json:"fast_refreshable"`
}

func (*SchemaMaterializedViewObject) String added in v1.0.8

func (ro *SchemaMaterializedViewObject) String() string

type SchemaObjectTypeCompatibles added in v1.0.8

type SchemaObjectTypeCompatibles struct {
	Schema        string `json:"schema"`
	ObjectType    string `json:"object_type"`
	ObjectCounts  string `json:"object_counts"`
	IsCompatible  string `json:"is_compatible"`
	IsConvertible string `json:"is_convertible"`
}

func (*SchemaObjectTypeCompatibles) String added in v1.0.8

func (sc *SchemaObjectTypeCompatibles) String() string

type SchemaPartitionTableCountsCheck added in v1.0.8

type SchemaPartitionTableCountsCheck struct {
	Schema          string `json:"schema"`
	TableName       string `json:"table_name"`
	PartitionCounts string `json:"partition_counts"`
}

func (*SchemaPartitionTableCountsCheck) String added in v1.0.8

type SchemaPartitionTypeCompatibles added in v1.0.8

type SchemaPartitionTypeCompatibles struct {
	Schema        string `json:"schema"`
	PartitionType string `json:"partition_type"`
	ObjectCounts  string `json:"object_counts"`
	IsCompatible  string `json:"is_compatible"`
	IsConvertible string `json:"is_convertible"`
}

func (*SchemaPartitionTypeCompatibles) String added in v1.0.8

type SchemaSequenceNameLengthCheck added in v1.0.8

type SchemaSequenceNameLengthCheck struct {
	Schema       string `json:"schema"`
	SequenceName string `json:"sequence_name"`
	OrderFlag    string `json:"order_flag"`
	Length       string `json:"length"`
}

func (*SchemaSequenceNameLengthCheck) String added in v1.0.8

type SchemaSubPartitionTypeCompatibles added in v1.0.8

type SchemaSubPartitionTypeCompatibles struct {
	Schema           string `json:"schema"`
	SubPartitionType string `json:"sub_partition_type"`
	ObjectCounts     string `json:"object_counts"`
	IsCompatible     string `json:"is_compatible"`
	IsConvertible    string `json:"is_convertible"`
}

func (*SchemaSubPartitionTypeCompatibles) String added in v1.0.8

type SchemaSynonymObject added in v1.0.8

type SchemaSynonymObject struct {
	Schema      string `json:"schema"`
	SynonymName string `json:"synonym_name"`
	TableOwner  string `json:"table_owner"`
	TableName   string `json:"table_name"`
}

func (*SchemaSynonymObject) String added in v1.0.8

func (ro *SchemaSynonymObject) String() string

type SchemaTableAvgRowLengthTOP added in v1.0.8

type SchemaTableAvgRowLengthTOP struct {
	Schema       string `json:"schema"`
	TableName    string `json:"table_name"`
	AvgRowLength string `json:"avg_row_length"`
}

func (*SchemaTableAvgRowLengthTOP) String added in v1.0.8

func (ro *SchemaTableAvgRowLengthTOP) String() string

type SchemaTableColumnCountsCheck added in v1.0.8

type SchemaTableColumnCountsCheck struct {
	Schema       string `json:"schema"`
	TableName    string `json:"table_name"`
	ColumnCounts string `json:"column_counts"`
}

func (*SchemaTableColumnCountsCheck) String added in v1.0.8

func (ro *SchemaTableColumnCountsCheck) String() string

type SchemaTableColumnNameLengthCheck added in v1.0.8

type SchemaTableColumnNameLengthCheck struct {
	Schema     string `json:"schema"`
	TableName  string `json:"table_name"`
	ColumnName string `json:"column_name"`
	Length     string `json:"length"`
}

func (*SchemaTableColumnNameLengthCheck) String added in v1.0.8

type SchemaTableIndexCountsCheck added in v1.0.8

type SchemaTableIndexCountsCheck struct {
	Schema      string `json:"schema"`
	TableName   string `json:"table_name"`
	IndexCounts string `json:"index_counts"`
}

func (*SchemaTableIndexCountsCheck) String added in v1.0.8

func (ro *SchemaTableIndexCountsCheck) String() string

type SchemaTableIndexNameLengthCheck added in v1.0.8

type SchemaTableIndexNameLengthCheck struct {
	Schema    string `json:"schema"`
	TableName string `json:"table_name"`
	IndexName string `json:"index_name"`
	Length    string `json:"length"`
}

func (*SchemaTableIndexNameLengthCheck) String added in v1.0.8

type SchemaTableIndexRowLengthCheck added in v1.0.8

type SchemaTableIndexRowLengthCheck struct {
	Schema       string `json:"schema"`
	TableName    string `json:"table_name"`
	IndexName    string `json:"index_name"`
	ColumnLength string `json:"column_length"`
}

func (*SchemaTableIndexRowLengthCheck) String added in v1.0.8

type SchemaTableNameLengthCheck added in v1.0.8

type SchemaTableNameLengthCheck struct {
	Schema    string `json:"schema"`
	TableName string `json:"table_name"`
	Length    string `json:"length"`
}

func (*SchemaTableNameLengthCheck) String added in v1.0.8

func (ro *SchemaTableNameLengthCheck) String() string

type SchemaTableNumberTypeEqual0 added in v1.0.8

type SchemaTableNumberTypeEqual0 struct {
	Schema        string `json:"schema"`
	TableName     string `json:"table_name"`
	ColumnName    string `json:"column_name"`
	DataPrecision string `json:"data_precision"`
	DataScale     string `json:"data_scale"`
}

func (*SchemaTableNumberTypeEqual0) String added in v1.0.8

func (ro *SchemaTableNumberTypeEqual0) String() string

type SchemaTableRowLengthCheck added in v1.0.8

type SchemaTableRowLengthCheck struct {
	Schema       string `json:"schema"`
	TableName    string `json:"table_name"`
	AvgRowLength string `json:"avg_row_length"`
}

func (*SchemaTableRowLengthCheck) String added in v1.0.8

func (ro *SchemaTableRowLengthCheck) String() string

type SchemaTableRowsTOP added in v1.0.8

type SchemaTableRowsTOP struct {
	Schema    string `json:"schema"`
	TableName string `json:"table_name"`
	TableType string `json:"table_type"`
	TableSize string `json:"table_size"`
}

func (*SchemaTableRowsTOP) String added in v1.0.8

func (ro *SchemaTableRowsTOP) String() string

type SchemaTableSizeData added in v1.0.8

type SchemaTableSizeData struct {
	Schema        string `json:"schema"`
	TableSize     string `json:"table_size"`
	IndexSize     string `json:"index_size"`
	LobTableSize  string `json:"lob_table_size"`
	LobIndexSize  string `json:"lob_index_size"`
	AllTablesRows string `json:"all_tables_rows"`
}

func (*SchemaTableSizeData) String added in v1.0.8

func (ro *SchemaTableSizeData) String() string

type SchemaTableTypeCompatibles added in v1.0.8

type SchemaTableTypeCompatibles struct {
	Schema        string `json:"schema"`
	TableType     string `json:"table_type"`
	ObjectCounts  string `json:"object_counts"`
	ObjectSize    string `json:"object_size"`
	IsCompatible  string `json:"is_compatible"`
	IsConvertible string `json:"is_convertible"`
}

func (*SchemaTableTypeCompatibles) String added in v1.0.8

func (sc *SchemaTableTypeCompatibles) String() string

type SchemaTemporaryTableTypeCompatibles added in v1.0.8

type SchemaTemporaryTableTypeCompatibles struct {
	Schema             string `json:"schema"`
	TemporaryTableType string `json:"temporary_table_type"`
	ObjectCounts       string `json:"object_counts"`
	IsCompatible       string `json:"is_compatible"`
	IsConvertible      string `json:"is_convertible"`
}

func (*SchemaTemporaryTableTypeCompatibles) String added in v1.0.8

type SchemaViewNameLengthCheck added in v1.0.8

type SchemaViewNameLengthCheck struct {
	Schema   string `json:"schema"`
	ViewName string `json:"view_name"`
	ReadOnly string `json:"read_only"`
	Length   string `json:"length"`
}

func (*SchemaViewNameLengthCheck) String added in v1.0.8

func (ro *SchemaViewNameLengthCheck) String() string

type SchemaViewTypeCompatibles added in v1.0.8

type SchemaViewTypeCompatibles struct {
	Schema        string `json:"schema"`
	ViewType      string `json:"view_type"`
	ViewTypeOwner string `json:"view_type_owner"`
	ObjectCounts  string `json:"object_counts"`
	IsCompatible  string `json:"is_compatible"`
	IsConvertible string `json:"is_convertible"`
}

func (*SchemaViewTypeCompatibles) String added in v1.0.8

func (sc *SchemaViewTypeCompatibles) String() string

type UsernameLengthCheck added in v1.0.8

type UsernameLengthCheck struct {
	Schema        string `json:"schema"`
	AccountStatus string `json:"account_status"`
	Created       string `json:"created"`
	Length        string `json:"length"`
}

func (*UsernameLengthCheck) String added in v1.0.8

func (ro *UsernameLengthCheck) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL