Class CommonSqlStatements
- java.lang.Object
-
- io.apicurio.registry.storage.impl.sql.CommonSqlStatements
-
- All Implemented Interfaces:
SqlStatements
- Direct Known Subclasses:
H2SqlStatements
,PostgreSQLSqlStatements
public abstract class CommonSqlStatements extends Object implements SqlStatements
Shared base class for all sql statements.- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CommonSqlStatements()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
autoUpdateVersionForGlobalId()
A statement used to update the 'version' column of the 'versions' table by globalId.List<String>
databaseInitialization()
A sequence of statements needed to initialize the database.List<String>
databaseUpgrade(int fromVersion, int toVersion)
A sequence of statements needed to upgrade the DB from one version to another.String
deleteArtifact()
A statement to delete a single row from the artifacts table by artifactId.String
deleteArtifactRule()
A statement to delete a single artifact rule.String
deleteArtifactRules()
A statement to delete all rules for a single artifact.String
deleteArtifactRulesByGroupId()
A statement to delete all rules for all artifacts in a groupId.String
deleteArtifactsByGroupId()
A statement to delete a all artifacts from the artifacts table by groupId.String
deleteGlobalRule()
A statement used to delete a row from the globalrules table.String
deleteGlobalRules()
A statement used to delete all rows in the globalrules table.String
deleteGroup()
A statement used to delete a row from the groups table.String
deleteLabels()
A statement to delete all labels for all versions for a single artifact.String
deleteLabelsByGlobalId()
A statement to delete all labels for a single artifact version by globalIdString
deleteLabelsByGroupId()
A statement to delete all labels for all versions for all artifacts in a groupId.String
deleteLogConfiguration()
A statement to delete a row in the "logconfiguration" tableString
deleteProperties()
A statement to delete all properties for all versions for a single artifact.String
deletePropertiesByGlobalId()
A statement to delete all properties for a single artifact version by globalIdString
deletePropertiesByGroupId()
A statement to delete all properties for all versions for all artifacts in a groupId.String
deleteVersion()
A statement to delete a single artifact version.String
deleteVersionLabels()
A statement to delete the labels for a single artifact version.String
deleteVersionProperties()
A statement to delete the properties for a single artifact version.String
deleteVersions()
A statement to delete all versions for a single artifact.String
deleteVersionsByGroupId()
A statement to delete all versions for all artifacts in a groupId.String
exportArtifactRules()
String
exportArtifactVersions()
String
exportContent()
String
exportGlobalRules()
String
exportGroups()
String
getDatabaseVersion()
A statement that returns the current DB version (pulled from the "apicurio" attribute table).String
importArtifactRule()
String
importArtifactVersion()
String
importContent()
String
importGlobalRule()
String
importGroup()
String
insertArtifact()
A statement used to insert a row in the artifacts table.String
insertArtifactRule()
A statement to insert a row into the 'rules' table (artifact rule).String
insertGlobalRule()
A statement used to insert a row into the globalrules table.String
insertGroup()
A statement used to insert a row into the groups table.String
insertLabel()
A statement to insert a row in the "labels" table.String
insertProperty()
A statement to insert a row in the "properties" table.String
insertVersion(boolean firstVersion)
A statement used to insert a row in the versions table.String
selectAllArtifactVersions()
A statement used to select all versions for a given artifactId.String
selectAllArtifactVersionsCount()
A statement used to count the total # of versions for an artifact.String
selectAllLogConfigurations()
A statement to select all rows in the "logconfiguration" tableString
selectArtifactCountById()
A statement to select the number of artifacts with a given artifactId (should be 0 or 1).String
selectArtifactIds()
A statement to get all artifacts IDs.String
selectArtifactMetaDataByGlobalId()
A statement to get an artifact's meta-data by version globalId.String
selectArtifactRuleByType()
A statement to get a single artifact rule from the 'rules' table by artifactId and rule type.String
selectArtifactRuleCountByType()
A statement to select the number of artifact rule rows for a given rule type.String
selectArtifactRules()
A statement used to select artifact rules by artifactId.String
selectArtifactVersionContent()
A statement to select the content of an artifact version from the versions table by artifactId + version.String
selectArtifactVersionContentByGlobalId()
A statement to select the content of an artifact version from the versions table by globalId.String
selectArtifactVersionMetaData()
A statement used to select artifact version metadata by artifactId and version.String
selectArtifactVersionMetaDataByCanonicalHash()
A statement used to select a single row in the versions by artifactId and canonical content hash.String
selectArtifactVersionMetaDataByContentHash()
A statement used to select a single row in the versions by artifactId and content hash.String
selectArtifactVersionMetaDataByContentId()
A statement used to select a single row in the versions by artifactId and content id.String
selectArtifactVersionMetaDataByGlobalId()
A statement used to select a single row in the versions table by globalId.String
selectArtifactVersions()
A statement used to select all version #s for a given artifactId.String
selectContentByContentHash()
A statement to select the bytes of a content row by contentHashString
selectContentById()
A statement to select the bytes of a content row by contentId.String
selectContentCountByHash()
A statement to select the number of content rows for a given content hash.String
selectContentExists()
String
selectContentIdByHash()
A statement to select the contentId of a row in the content table by hash value.String
selectGlobalIdExists()
String
selectGlobalRuleByType()
A statement used to select a single global rule by its type/id.String
selectGlobalRuleCountByType()
A statement to select the number of global rule rows for a given rule type.String
selectGlobalRules()
A statement used to select all global rules.String
selectGroupByGroupId()
A statement used to select a single group in groups table by groupId.String
selectGroups()
A statement used to select all rows from groups table.String
selectLatestArtifactContent()
A statement to get a single artifact (latest version) content by artifactId.String
selectLatestArtifactMetaData()
A statement to get a single artifact (latest version) meta-data by artifactId.String
selectLogConfigurationByLogger()
A statement to select the log configuration for a given logger nameString
selectMaxContentId()
String
selectMaxGlobalId()
String
selectNextGlobalId()
As statement used to get the next generated/sequenced globalId.String
updateArtifactLatest()
A statement used to update the 'latest' column of the 'artifacts' table.String
updateArtifactLatestGlobalId()
A statement used to update the 'latest' column of the 'artifacts' table to the globalId of the highest remaining version.String
updateArtifactRule()
A statement to update a single artifact rule.String
updateArtifactVersionMetaData()
A statement to update the meta-data of a specific artifact version.String
updateArtifactVersionState()
A statement to update the state of an artifact version (by globalId);String
updateGlobalRule()
A statement used to update information about a global rule.String
updateGroup()
A statement used to update information about a group.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.registry.storage.impl.sql.SqlStatements
dbType, isDatabaseInitialized, isForeignKeyViolation, isPrimaryKeyViolation, resetSequence, upsertContent, upsertLogConfiguration
-
-
-
-
Method Detail
-
selectNextGlobalId
public String selectNextGlobalId()
Description copied from interface:SqlStatements
As statement used to get the next generated/sequenced globalId.- Specified by:
selectNextGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.selectNextGlobalId()
-
databaseInitialization
public List<String> databaseInitialization()
Description copied from interface:SqlStatements
A sequence of statements needed to initialize the database.- Specified by:
databaseInitialization
in interfaceSqlStatements
- See Also:
io.apicurio.registry.storage.impl.sql.SqlStatements.core.storage.jdbc.ISqlStatements#databaseInitialization()
-
databaseUpgrade
public List<String> databaseUpgrade(int fromVersion, int toVersion)
Description copied from interface:SqlStatements
A sequence of statements needed to upgrade the DB from one version to another.- Specified by:
databaseUpgrade
in interfaceSqlStatements
- See Also:
io.apicurio.registry.storage.impl.sql.SqlStatements.core.storage.jdbc.ISqlStatements#databaseUpgrade(int, int)
-
getDatabaseVersion
public String getDatabaseVersion()
Description copied from interface:SqlStatements
A statement that returns the current DB version (pulled from the "apicurio" attribute table).- Specified by:
getDatabaseVersion
in interfaceSqlStatements
- See Also:
SqlStatements.getDatabaseVersion()
-
insertGlobalRule
public String insertGlobalRule()
Description copied from interface:SqlStatements
A statement used to insert a row into the globalrules table.- Specified by:
insertGlobalRule
in interfaceSqlStatements
- See Also:
SqlStatements.insertGlobalRule()
-
selectGlobalRules
public String selectGlobalRules()
Description copied from interface:SqlStatements
A statement used to select all global rules.- Specified by:
selectGlobalRules
in interfaceSqlStatements
- See Also:
SqlStatements.selectGlobalRules()
-
selectGlobalRuleByType
public String selectGlobalRuleByType()
Description copied from interface:SqlStatements
A statement used to select a single global rule by its type/id.- Specified by:
selectGlobalRuleByType
in interfaceSqlStatements
- See Also:
SqlStatements.selectGlobalRuleByType()
-
deleteGlobalRule
public String deleteGlobalRule()
Description copied from interface:SqlStatements
A statement used to delete a row from the globalrules table.- Specified by:
deleteGlobalRule
in interfaceSqlStatements
- See Also:
SqlStatements.deleteGlobalRule()
-
deleteGlobalRules
public String deleteGlobalRules()
Description copied from interface:SqlStatements
A statement used to delete all rows in the globalrules table.- Specified by:
deleteGlobalRules
in interfaceSqlStatements
- See Also:
SqlStatements.deleteGlobalRules()
-
updateGlobalRule
public String updateGlobalRule()
Description copied from interface:SqlStatements
A statement used to update information about a global rule.- Specified by:
updateGlobalRule
in interfaceSqlStatements
- See Also:
SqlStatements.updateGlobalRule()
-
insertArtifact
public String insertArtifact()
Description copied from interface:SqlStatements
A statement used to insert a row in the artifacts table.- Specified by:
insertArtifact
in interfaceSqlStatements
- See Also:
SqlStatements.insertArtifact()
-
updateArtifactLatest
public String updateArtifactLatest()
Description copied from interface:SqlStatements
A statement used to update the 'latest' column of the 'artifacts' table.- Specified by:
updateArtifactLatest
in interfaceSqlStatements
- See Also:
SqlStatements.updateArtifactLatest()
-
updateArtifactLatestGlobalId
public String updateArtifactLatestGlobalId()
Description copied from interface:SqlStatements
A statement used to update the 'latest' column of the 'artifacts' table to the globalId of the highest remaining version.- Specified by:
updateArtifactLatestGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.updateArtifactLatestGlobalId()
-
autoUpdateVersionForGlobalId
public String autoUpdateVersionForGlobalId()
Description copied from interface:SqlStatements
A statement used to update the 'version' column of the 'versions' table by globalId. The value of the "versionId" column is copied into the "version" column.- Specified by:
autoUpdateVersionForGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.autoUpdateVersionForGlobalId()
-
insertVersion
public String insertVersion(boolean firstVersion)
Description copied from interface:SqlStatements
A statement used to insert a row in the versions table.- Specified by:
insertVersion
in interfaceSqlStatements
- See Also:
io.apicurio.registry.storage.impl.sql.SqlStatements#insertVersion()
-
selectArtifactVersionMetaDataByGlobalId
public String selectArtifactVersionMetaDataByGlobalId()
Description copied from interface:SqlStatements
A statement used to select a single row in the versions table by globalId.- Specified by:
selectArtifactVersionMetaDataByGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersionMetaDataByGlobalId()
-
selectArtifactVersions
public String selectArtifactVersions()
Description copied from interface:SqlStatements
A statement used to select all version #s for a given artifactId.- Specified by:
selectArtifactVersions
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersions()
-
selectArtifactVersionMetaData
public String selectArtifactVersionMetaData()
Description copied from interface:SqlStatements
A statement used to select artifact version metadata by artifactId and version.- Specified by:
selectArtifactVersionMetaData
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersionMetaData()
-
selectArtifactVersionMetaDataByContentHash
public String selectArtifactVersionMetaDataByContentHash()
Description copied from interface:SqlStatements
A statement used to select a single row in the versions by artifactId and content hash.- Specified by:
selectArtifactVersionMetaDataByContentHash
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersionMetaDataByContentHash()
-
selectArtifactVersionMetaDataByContentId
public String selectArtifactVersionMetaDataByContentId()
Description copied from interface:SqlStatements
A statement used to select a single row in the versions by artifactId and content id.- Specified by:
selectArtifactVersionMetaDataByContentId
in interfaceSqlStatements
-
selectArtifactVersionMetaDataByCanonicalHash
public String selectArtifactVersionMetaDataByCanonicalHash()
Description copied from interface:SqlStatements
A statement used to select a single row in the versions by artifactId and canonical content hash.- Specified by:
selectArtifactVersionMetaDataByCanonicalHash
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersionMetaDataByCanonicalHash()
-
selectArtifactVersionContentByGlobalId
public String selectArtifactVersionContentByGlobalId()
Description copied from interface:SqlStatements
A statement to select the content of an artifact version from the versions table by globalId.- Specified by:
selectArtifactVersionContentByGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersionContentByGlobalId()
-
selectArtifactVersionContent
public String selectArtifactVersionContent()
Description copied from interface:SqlStatements
A statement to select the content of an artifact version from the versions table by artifactId + version.- Specified by:
selectArtifactVersionContent
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactVersionContent()
-
selectLatestArtifactContent
public String selectLatestArtifactContent()
Description copied from interface:SqlStatements
A statement to get a single artifact (latest version) content by artifactId.- Specified by:
selectLatestArtifactContent
in interfaceSqlStatements
- See Also:
SqlStatements.selectLatestArtifactContent()
-
selectLatestArtifactMetaData
public String selectLatestArtifactMetaData()
Description copied from interface:SqlStatements
A statement to get a single artifact (latest version) meta-data by artifactId.- Specified by:
selectLatestArtifactMetaData
in interfaceSqlStatements
- See Also:
SqlStatements.selectLatestArtifactMetaData()
-
selectContentIdByHash
public String selectContentIdByHash()
Description copied from interface:SqlStatements
A statement to select the contentId of a row in the content table by hash value.- Specified by:
selectContentIdByHash
in interfaceSqlStatements
- See Also:
SqlStatements.selectContentIdByHash()
-
selectArtifactRules
public String selectArtifactRules()
Description copied from interface:SqlStatements
A statement used to select artifact rules by artifactId.- Specified by:
selectArtifactRules
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactRules()
-
insertArtifactRule
public String insertArtifactRule()
Description copied from interface:SqlStatements
A statement to insert a row into the 'rules' table (artifact rule).- Specified by:
insertArtifactRule
in interfaceSqlStatements
- See Also:
SqlStatements.insertArtifactRule()
-
selectArtifactRuleByType
public String selectArtifactRuleByType()
Description copied from interface:SqlStatements
A statement to get a single artifact rule from the 'rules' table by artifactId and rule type.- Specified by:
selectArtifactRuleByType
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactRuleByType()
-
updateArtifactRule
public String updateArtifactRule()
Description copied from interface:SqlStatements
A statement to update a single artifact rule.- Specified by:
updateArtifactRule
in interfaceSqlStatements
- See Also:
SqlStatements.updateArtifactRule()
-
deleteArtifactRule
public String deleteArtifactRule()
Description copied from interface:SqlStatements
A statement to delete a single artifact rule.- Specified by:
deleteArtifactRule
in interfaceSqlStatements
- See Also:
SqlStatements.deleteArtifactRule()
-
deleteArtifactRules
public String deleteArtifactRules()
Description copied from interface:SqlStatements
A statement to delete all rules for a single artifact.- Specified by:
deleteArtifactRules
in interfaceSqlStatements
- See Also:
SqlStatements.deleteArtifactRules()
-
deleteArtifactRulesByGroupId
public String deleteArtifactRulesByGroupId()
Description copied from interface:SqlStatements
A statement to delete all rules for all artifacts in a groupId.- Specified by:
deleteArtifactRulesByGroupId
in interfaceSqlStatements
-
updateArtifactVersionMetaData
public String updateArtifactVersionMetaData()
Description copied from interface:SqlStatements
A statement to update the meta-data of a specific artifact version.- Specified by:
updateArtifactVersionMetaData
in interfaceSqlStatements
- See Also:
SqlStatements.updateArtifactVersionMetaData()
-
deleteLabels
public String deleteLabels()
Description copied from interface:SqlStatements
A statement to delete all labels for all versions for a single artifact.- Specified by:
deleteLabels
in interfaceSqlStatements
- See Also:
SqlStatements.deleteLabels()
-
deleteLabelsByGlobalId
public String deleteLabelsByGlobalId()
Description copied from interface:SqlStatements
A statement to delete all labels for a single artifact version by globalId- Specified by:
deleteLabelsByGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.deleteLabelsByGlobalId()
-
deleteLabelsByGroupId
public String deleteLabelsByGroupId()
Description copied from interface:SqlStatements
A statement to delete all labels for all versions for all artifacts in a groupId.- Specified by:
deleteLabelsByGroupId
in interfaceSqlStatements
-
deleteProperties
public String deleteProperties()
Description copied from interface:SqlStatements
A statement to delete all properties for all versions for a single artifact.- Specified by:
deleteProperties
in interfaceSqlStatements
- See Also:
SqlStatements.deleteProperties()
-
deletePropertiesByGlobalId
public String deletePropertiesByGlobalId()
Description copied from interface:SqlStatements
A statement to delete all properties for a single artifact version by globalId- Specified by:
deletePropertiesByGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.deletePropertiesByGlobalId()
-
deletePropertiesByGroupId
public String deletePropertiesByGroupId()
Description copied from interface:SqlStatements
A statement to delete all properties for all versions for all artifacts in a groupId.- Specified by:
deletePropertiesByGroupId
in interfaceSqlStatements
-
deleteVersions
public String deleteVersions()
Description copied from interface:SqlStatements
A statement to delete all versions for a single artifact.- Specified by:
deleteVersions
in interfaceSqlStatements
- See Also:
SqlStatements.deleteVersions()
-
deleteVersionsByGroupId
public String deleteVersionsByGroupId()
Description copied from interface:SqlStatements
A statement to delete all versions for all artifacts in a groupId.- Specified by:
deleteVersionsByGroupId
in interfaceSqlStatements
-
deleteArtifact
public String deleteArtifact()
Description copied from interface:SqlStatements
A statement to delete a single row from the artifacts table by artifactId.- Specified by:
deleteArtifact
in interfaceSqlStatements
- See Also:
SqlStatements.deleteArtifact()
-
deleteArtifactsByGroupId
public String deleteArtifactsByGroupId()
Description copied from interface:SqlStatements
A statement to delete a all artifacts from the artifacts table by groupId.- Specified by:
deleteArtifactsByGroupId
in interfaceSqlStatements
-
selectArtifactIds
public String selectArtifactIds()
Description copied from interface:SqlStatements
A statement to get all artifacts IDs.- Specified by:
selectArtifactIds
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactIds()
-
selectArtifactMetaDataByGlobalId
public String selectArtifactMetaDataByGlobalId()
Description copied from interface:SqlStatements
A statement to get an artifact's meta-data by version globalId.- Specified by:
selectArtifactMetaDataByGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactMetaDataByGlobalId()
-
updateArtifactVersionState
public String updateArtifactVersionState()
Description copied from interface:SqlStatements
A statement to update the state of an artifact version (by globalId);- Specified by:
updateArtifactVersionState
in interfaceSqlStatements
- See Also:
SqlStatements.updateArtifactVersionState()
-
deleteVersion
public String deleteVersion()
Description copied from interface:SqlStatements
A statement to delete a single artifact version.- Specified by:
deleteVersion
in interfaceSqlStatements
- See Also:
SqlStatements.deleteVersion()
-
deleteVersionLabels
public String deleteVersionLabels()
Description copied from interface:SqlStatements
A statement to delete the labels for a single artifact version.- Specified by:
deleteVersionLabels
in interfaceSqlStatements
- See Also:
SqlStatements.deleteVersionLabels()
-
deleteVersionProperties
public String deleteVersionProperties()
Description copied from interface:SqlStatements
A statement to delete the properties for a single artifact version.- Specified by:
deleteVersionProperties
in interfaceSqlStatements
- See Also:
SqlStatements.deleteVersionProperties()
-
insertLabel
public String insertLabel()
Description copied from interface:SqlStatements
A statement to insert a row in the "labels" table.- Specified by:
insertLabel
in interfaceSqlStatements
- See Also:
SqlStatements.insertLabel()
-
insertProperty
public String insertProperty()
Description copied from interface:SqlStatements
A statement to insert a row in the "properties" table.- Specified by:
insertProperty
in interfaceSqlStatements
- See Also:
SqlStatements.insertProperty()
-
selectAllArtifactVersions
public String selectAllArtifactVersions()
Description copied from interface:SqlStatements
A statement used to select all versions for a given artifactId.- Specified by:
selectAllArtifactVersions
in interfaceSqlStatements
- See Also:
SqlStatements.selectAllArtifactVersions()
-
selectAllArtifactVersionsCount
public String selectAllArtifactVersionsCount()
Description copied from interface:SqlStatements
A statement used to count the total # of versions for an artifact.- Specified by:
selectAllArtifactVersionsCount
in interfaceSqlStatements
- See Also:
SqlStatements.selectAllArtifactVersionsCount()
-
selectArtifactCountById
public String selectArtifactCountById()
Description copied from interface:SqlStatements
A statement to select the number of artifacts with a given artifactId (should be 0 or 1).- Specified by:
selectArtifactCountById
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactCountById()
-
selectArtifactRuleCountByType
public String selectArtifactRuleCountByType()
Description copied from interface:SqlStatements
A statement to select the number of artifact rule rows for a given rule type.- Specified by:
selectArtifactRuleCountByType
in interfaceSqlStatements
- See Also:
SqlStatements.selectArtifactRuleCountByType()
-
selectGlobalRuleCountByType
public String selectGlobalRuleCountByType()
Description copied from interface:SqlStatements
A statement to select the number of global rule rows for a given rule type.- Specified by:
selectGlobalRuleCountByType
in interfaceSqlStatements
- See Also:
SqlStatements.selectGlobalRuleCountByType()
-
selectContentCountByHash
public String selectContentCountByHash()
Description copied from interface:SqlStatements
A statement to select the number of content rows for a given content hash.- Specified by:
selectContentCountByHash
in interfaceSqlStatements
- See Also:
SqlStatements.selectContentCountByHash()
-
selectContentById
public String selectContentById()
Description copied from interface:SqlStatements
A statement to select the bytes of a content row by contentId.- Specified by:
selectContentById
in interfaceSqlStatements
- See Also:
SqlStatements.selectContentById()
-
selectContentByContentHash
public String selectContentByContentHash()
Description copied from interface:SqlStatements
A statement to select the bytes of a content row by contentHash- Specified by:
selectContentByContentHash
in interfaceSqlStatements
- See Also:
SqlStatements.selectContentByContentHash()
-
selectLogConfigurationByLogger
public String selectLogConfigurationByLogger()
Description copied from interface:SqlStatements
A statement to select the log configuration for a given logger name- Specified by:
selectLogConfigurationByLogger
in interfaceSqlStatements
- See Also:
SqlStatements.selectLogConfigurationByLogger()
-
deleteLogConfiguration
public String deleteLogConfiguration()
Description copied from interface:SqlStatements
A statement to delete a row in the "logconfiguration" table- Specified by:
deleteLogConfiguration
in interfaceSqlStatements
- See Also:
SqlStatements.deleteLogConfiguration()
-
selectAllLogConfigurations
public String selectAllLogConfigurations()
Description copied from interface:SqlStatements
A statement to select all rows in the "logconfiguration" table- Specified by:
selectAllLogConfigurations
in interfaceSqlStatements
- See Also:
SqlStatements.selectAllLogConfigurations()
-
insertGroup
public String insertGroup()
Description copied from interface:SqlStatements
A statement used to insert a row into the groups table.- Specified by:
insertGroup
in interfaceSqlStatements
- See Also:
SqlStatements.insertGroup()
-
updateGroup
public String updateGroup()
Description copied from interface:SqlStatements
A statement used to update information about a group.- Specified by:
updateGroup
in interfaceSqlStatements
- See Also:
SqlStatements.updateGroup()
-
deleteGroup
public String deleteGroup()
Description copied from interface:SqlStatements
A statement used to delete a row from the groups table.- Specified by:
deleteGroup
in interfaceSqlStatements
- See Also:
SqlStatements.deleteGroup()
-
selectGroups
public String selectGroups()
Description copied from interface:SqlStatements
A statement used to select all rows from groups table.- Specified by:
selectGroups
in interfaceSqlStatements
- See Also:
SqlStatements.selectGroups()
-
selectGroupByGroupId
public String selectGroupByGroupId()
Description copied from interface:SqlStatements
A statement used to select a single group in groups table by groupId.- Specified by:
selectGroupByGroupId
in interfaceSqlStatements
- See Also:
SqlStatements.selectGroupByGroupId()
-
exportArtifactRules
public String exportArtifactRules()
- Specified by:
exportArtifactRules
in interfaceSqlStatements
- See Also:
SqlStatements.exportArtifactRules()
-
exportArtifactVersions
public String exportArtifactVersions()
- Specified by:
exportArtifactVersions
in interfaceSqlStatements
- See Also:
SqlStatements.exportArtifactVersions()
-
exportContent
public String exportContent()
- Specified by:
exportContent
in interfaceSqlStatements
- See Also:
SqlStatements.exportContent()
-
exportGlobalRules
public String exportGlobalRules()
- Specified by:
exportGlobalRules
in interfaceSqlStatements
- See Also:
SqlStatements.exportGlobalRules()
-
exportGroups
public String exportGroups()
- Specified by:
exportGroups
in interfaceSqlStatements
- See Also:
SqlStatements.exportGroups()
-
importArtifactRule
public String importArtifactRule()
- Specified by:
importArtifactRule
in interfaceSqlStatements
- See Also:
SqlStatements.importArtifactRule()
-
importArtifactVersion
public String importArtifactVersion()
- Specified by:
importArtifactVersion
in interfaceSqlStatements
- See Also:
SqlStatements.importArtifactVersion()
-
importContent
public String importContent()
- Specified by:
importContent
in interfaceSqlStatements
- See Also:
SqlStatements.importContent()
-
importGlobalRule
public String importGlobalRule()
- Specified by:
importGlobalRule
in interfaceSqlStatements
- See Also:
SqlStatements.importGlobalRule()
-
importGroup
public String importGroup()
- Specified by:
importGroup
in interfaceSqlStatements
- See Also:
SqlStatements.importGroup()
-
selectMaxContentId
public String selectMaxContentId()
- Specified by:
selectMaxContentId
in interfaceSqlStatements
- See Also:
SqlStatements.selectMaxContentId()
-
selectMaxGlobalId
public String selectMaxGlobalId()
- Specified by:
selectMaxGlobalId
in interfaceSqlStatements
- See Also:
SqlStatements.selectMaxGlobalId()
-
selectContentExists
public String selectContentExists()
- Specified by:
selectContentExists
in interfaceSqlStatements
- See Also:
SqlStatements.selectContentExists()
-
selectGlobalIdExists
public String selectGlobalIdExists()
- Specified by:
selectGlobalIdExists
in interfaceSqlStatements
- See Also:
SqlStatements.selectGlobalIdExists()
-
-