Uses of Enum Class
org.pgcodekeeper.core.DatabaseType
Packages that use DatabaseType
Package
Description
-
Uses of DatabaseType in org.pgcodekeeper.core
Methods in org.pgcodekeeper.core that return DatabaseTypeModifier and TypeMethodDescriptionstatic DatabaseTypeEnums valuesOf method version with custom exception.static DatabaseTypeReturns the enum constant of this class with the specified name.static DatabaseType[]DatabaseType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.pgcodekeeper.core with parameters of type DatabaseTypeModifier and TypeMethodDescriptionstatic StringWorkDirs.getDirectoryNameForType(DatabaseType databaseType, DbObjType type) Gets the directory name for a specific database object typeWorkDirs.getDirectoryNames(DatabaseType databaseType) Gets the list of top-level directory names for the specified database typestatic StringUtils.getQuotedName(String name, DatabaseType dbType) Returns a properly quoted name for the given database type.static UnaryOperator<String>Utils.getQuoter(DatabaseType dbType) Returns a quoting function for the given database type.static booleanUtils.isSystemSchema(String schema, DatabaseType dbType) Checks if a schema is a system schema for the given database type. -
Uses of DatabaseType in org.pgcodekeeper.core.formatter
Constructors in org.pgcodekeeper.core.formatter with parameters of type DatabaseTypeModifierConstructorDescriptionFileFormatter(String source, int offset, int length, FormatConfiguration config, DatabaseType dbType) Constructs a new FileFormatter instance. -
Uses of DatabaseType in org.pgcodekeeper.core.loader
Methods in org.pgcodekeeper.core.loader that return DatabaseTypeModifier and TypeMethodDescriptionstatic DatabaseTypeUrlJdbcConnector.getDatabaseTypeFromUrl(String url) Determines the database type from a JDBC URL.AbstractJdbcConnector.getType() -
Uses of DatabaseType in org.pgcodekeeper.core.loader.callables
Constructors in org.pgcodekeeper.core.loader.callables with parameters of type DatabaseTypeModifierConstructorDescriptionQueriesBatchCallable(Statement st, List<PgObjLocation> batches, IMonitor monitor, IProgressReporter reporter, Connection connection, DatabaseType dbType) Creates a new queries batch callable with the specified parameters. -
Uses of DatabaseType in org.pgcodekeeper.core.model.exporter
Constructors in org.pgcodekeeper.core.model.exporter with parameters of type DatabaseTypeModifierConstructorDescriptionModelExporter(Path outDir, AbstractDatabase db, DatabaseType databaseType, String sqlEncoding, ISettings settings) Creates a new ModelExporter for full database export.ModelExporter(Path outDir, AbstractDatabase newDb, AbstractDatabase oldDb, DatabaseType databaseType, Collection<TreeElement> changedObjects, String sqlEncoding, ISettings settings) Creates a new ModelExporter for partial or project export.OverridesModelExporter(Path outDir, AbstractDatabase newDb, AbstractDatabase oldDb, Collection<TreeElement> changedObjects, String sqlEncoding, DatabaseType dbType, ISettings settings) Creates a new overrides model exporter. -
Uses of DatabaseType in org.pgcodekeeper.core.model.graph
Methods in org.pgcodekeeper.core.model.graph with parameters of type DatabaseTypeModifier and TypeMethodDescriptionvoidRowData.appendInsert(DatabaseType dbType, boolean haveIdentity, StringBuilder sb) Appends INSERT statement to the script builder.voidRowData.appendUpdate(DatabaseType dbType, StringBuilder sb) Appends UPDATE statement to fix cyclic dependency null replacements. -
Uses of DatabaseType in org.pgcodekeeper.core.parsers.antlr.base
Methods in org.pgcodekeeper.core.parsers.antlr.base with parameters of type DatabaseTypeModifier and TypeMethodDescriptionstatic StringAntlrUtils.normalizeWhitespaceUnquoted(org.antlr.v4.runtime.ParserRuleContext ctx, org.antlr.v4.runtime.CommonTokenStream stream, DatabaseType dbType) Normalizes whitespace in SQL text while preserving quoted sections. -
Uses of DatabaseType in org.pgcodekeeper.core.schema
Methods in org.pgcodekeeper.core.schema that return DatabaseTypeMethods in org.pgcodekeeper.core.schema with parameters of type DatabaseTypeModifier and TypeMethodDescriptionstatic voidStatementUtils.appendCols(StringBuilder sbSQL, Collection<String> cols, DatabaseType dbType) Appends column names to a StringBuilder with proper quoting for the database type.static voidStatementUtils.appendOptions(StringBuilder sbSQL, Map<String, String> options, DatabaseType dbType) Appends parameters/options at StringBuilder.static voidStatementUtils.appendOptionsWithParen(StringBuilder sbSQL, Map<String, String> options, DatabaseType dbType) Appends options to a StringBuilder enclosed in parentheses.Constructors in org.pgcodekeeper.core.schema with parameters of type DatabaseTypeModifierConstructorDescriptionPgPrivilege(String state, String permission, String name, String role, boolean isGrantOption, DatabaseType dbType) Creates a new privilege instance. -
Uses of DatabaseType in org.pgcodekeeper.core.schema.ch
Methods in org.pgcodekeeper.core.schema.ch that return DatabaseType -
Uses of DatabaseType in org.pgcodekeeper.core.schema.meta
Methods in org.pgcodekeeper.core.schema.meta with parameters of type DatabaseTypeModifier and TypeMethodDescriptionstatic MetaContainerMetaUtils.createTreeFromDefs(Stream<MetaStatement> defs, DatabaseType dbType, SupportedPgVersion version) Creates a metadata container from a stream of metadata definitions. -
Uses of DatabaseType in org.pgcodekeeper.core.schema.ms
Methods in org.pgcodekeeper.core.schema.ms that return DatabaseTypeModifier and TypeMethodDescriptionAbstractMsClrFunction.getDbType()AbstractMsFunction.getDbType()MsAssembly.getDbType()MsColumn.getDbType()MsConstraint.getDbType()MsDatabase.getDbType()MsIndex.getDbType()MsRole.getDbType()MsSchema.getDbType()MsSequence.getDbType()MsStatistics.getDbType()MsTable.getDbType()MsTrigger.getDbType()MsType.getDbType()MsUser.getDbType()MsView.getDbType() -
Uses of DatabaseType in org.pgcodekeeper.core.settings
Methods in org.pgcodekeeper.core.settings that return DatabaseTypeModifier and TypeMethodDescriptionCoreSettings.getDbType()ISettings.getDbType()Gets the database type for operations.Methods in org.pgcodekeeper.core.settings with parameters of type DatabaseType -
Uses of DatabaseType in org.pgcodekeeper.core.utils
Constructors in org.pgcodekeeper.core.utils with parameters of type DatabaseTypeModifierConstructorDescriptionProjectUpdater(AbstractDatabase dbNew, AbstractDatabase dbOld, Collection<TreeElement> changedObjects, DatabaseType dbType, String encoding, Path dirExport, boolean overridesOnly, ISettings settings) Creates a new project updater with specified configuration.