Modifier and Type | Method and Description |
---|---|
void |
BatchUpdateAssistant.BatchUpdate.beginBatch(IfsConnection conn)
Called by the BatchUpdateAssistant at the start of each batch.
|
Modifier and Type | Method and Description |
---|---|
IfsConnection |
LibrarySession.getIfsConnection()
Returns an IfsConnection for this LibrarySession.
|
Modifier and Type | Method and Description |
---|---|
protected long |
PerformedActivitySelector.getNextSequenceValue(IfsConnection conn,
String seqName)
Get the next value from a sequence.
|
protected long |
TrackedActivitySelector.getNextSequenceValue(IfsConnection conn,
String seqName)
Get the next value from a sequence.
|
protected void |
ActivitySummary.insert(IfsConnection conn)
Inserts a summary record into the summary table specified at construction
time, using the summary ID value specified at construction time.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UpgradeOperations.addColumnIfNecessary(IfsConnection conn,
String tableName,
String columnName,
String rdbmsDataType)
Alter the specified table to add a new column.
|
protected void |
UpgradeOperations.analyze(IfsConnection conn,
String schemaName)
Analyze a schema.
|
protected void |
UpgradeOperations.analyzeTable(IfsConnection conn,
String schemaName,
String tableName)
Analyze a table in a schema.
|
protected boolean |
UpgradeOperations.columnExists(IfsConnection conn,
String tableName,
String columnName)
Return true if the specified column exists in the specified table.
|
protected void |
UpgradeOperations.commit(IfsConnection conn)
Issue a commit.
|
protected void |
UpgradeOperations.createIndex(IfsConnection conn,
String indexName,
String tableName,
String[] columns,
boolean isUnique)
Create an index on n columns of a table.
|
protected void |
UpgradeOperations.createIndex(IfsConnection conn,
String indexName,
String tableName,
String[] columns,
boolean isUnique,
boolean dropAndRetryIfExists,
boolean ignoreIfEquivalent)
Create an index on n columns of a table.
|
protected void |
UpgradeOperations.createIndex(IfsConnection conn,
String indexName,
String tableName,
String columnName,
boolean isUnique)
Create an index on a column of a table.
|
protected void |
UpgradeOperations.createIndex(IfsConnection conn,
String indexName,
String tableName,
String columnName,
boolean isUnique,
boolean dropAndRetryIfExists,
boolean ignoreIfEquivalent)
Create an index on a column of a table.
|
protected void |
UpgradeOperations.createIndex(IfsConnection conn,
String indexName,
String tableName,
String columnName1,
String columnName2,
boolean isUnique)
Create an index on 2 columns of a table.
|
protected void |
UpgradeOperations.createIndex(IfsConnection conn,
String indexName,
String tableName,
String columnName1,
String columnName2,
boolean isUnique,
boolean dropAndRetryIfExists,
boolean ignoreIfEquivalent)
Create an index on 2 columns of a table.
|
protected void |
UpgradeOperations.createSequence(IfsConnection conn,
String seqName,
int initialValue,
int cacheSize)
Create a sequence.
|
protected void |
UpgradeOperations.createSequence(IfsConnection conn,
String seqName,
int initialValue,
int cacheSize,
boolean dropFirst)
Create a sequence, optionally attempting to drop the seqeunce first.
|
protected void |
UpgradeOperations.createTable(IfsConnection conn,
String tableName,
String createStmt)
Create a table.
|
protected void |
UpgradeOperations.createTable(IfsConnection conn,
String tableName,
String createStmt,
boolean dropFirst)
Create a table, optionally attempting to drop the table first.
|
protected void |
UpgradeOperations.createView(IfsConnection conn,
String viewName,
String createStmt)
Create a view.
|
protected void |
UpgradeOperations.dropIndex(IfsConnection conn,
String indexName)
Drop an index.
|
protected void |
UpgradeOperations.dropSequence(IfsConnection conn,
String seqName)
Drop a sequence
|
protected void |
UpgradeOperations.dropTable(IfsConnection conn,
String tableName)
Drop a table.
|
protected void |
UpgradeOperations.dropView(IfsConnection conn,
String viewName)
Drop a view.
|
void |
ScriptOperations.JdbcExecutor.execute(IfsConnection conn) |
protected void |
UpgradeOperations.executeStatement(IfsConnection conn,
String stmtString)
Execute any SQL statement
|
protected int |
UpgradeOperations.executeUpdate(IfsConnection conn,
String stmtString)
Execute an update statement.
|
protected long |
UpgradeOperations.getNextSequenceValue(IfsConnection conn,
String seqName)
Get a value from a sequence.
|
protected void |
UpgradeOperations.initializeColumns(IfsConnection conn,
String tableName,
String[] pkCols,
int[] pkColTypes,
String selCondition,
String updColClause,
int batchSize)
Initialize the newly added columns by selecting and updating rows in
batches.
|
protected boolean |
UpgradeOperations.isValidConnection(IfsConnection conn)
Test validity of a IfsConnection
|
protected void |
UpgradeOperations.renameAttributeDatabaseObjectName(IfsConnection conn,
Long attrId,
String newColumnName)
Rename the DATABASEOBJECTNAME value for the specified Attribute ID.
|
protected void |
UpgradeOperations.renameColumn(IfsConnection conn,
String tableName,
String columnName,
String newColumnName)
Alter the specified table to rename a column.
|
protected void |
UpgradeOperations.rollback(IfsConnection conn)
Issue a rollback.
|
protected boolean |
UpgradeOperations.rowExists(IfsConnection conn,
String tableName,
String condition)
Return true if there is a row that meets the specified condition
for the specified table.
|
protected boolean |
UpgradeOperations.rowExists(IfsConnection conn,
String tableName,
String condition,
boolean errorValue)
Return true if there is a row that meets the specified condition
for the specified table.
|
protected List<Object[]> |
UpgradeOperations.selectPrimaryKeyBatch(IfsConnection conn,
long lastId,
int batchSize,
String tableName,
String[] selCols,
int[] selTypes,
String selCondition,
String pkOperator)
Select a batch of tuples restricted by Primary Key.
|
protected boolean |
UpgradeOperations.tableExists(IfsConnection conn,
String tableName)
Return true if the specified table exists.
|
Modifier and Type | Method and Description |
---|---|
void |
MediaOperations.JdbcExecutor.createProcedureForDeleteBfiles(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.createProcedureForUpdateBasePath(IfsConnection conn) |
void |
MiscOperations.IfsJdbcTest.JdbcExecutor.createTestTable(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.dropProcedureForDeleteBfiles(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.dropProcedureForUpdateBasePath(IfsConnection conn) |
void |
MiscOperations.IfsJdbcTest.JdbcExecutor.dropTestTable(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.execute(IfsConnection conn) |
void |
MiscOperations.IfsJdbcTest.JdbcExecutor.execute(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.executeProcedureForDeleteBfiles(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.executeProcedureForUpdateBasePath(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.removeContextJobForOptimize(IfsConnection conn) |
void |
MediaOperations.JdbcExecutor.removeContextJobForSync(IfsConnection conn) |
void |
MiscOperations.IfsJdbcTest.JdbcExecutor.selectTestCaseResult(IfsConnection conn) |
Modifier and Type | Method and Description |
---|---|
static void |
DatabaseUtilities.addColumnIfNecessary(IfsConnection conn,
String tableName,
String columnName,
String rdbmsDataType)
Alter the specified table to add a new column.
|
static void |
DatabaseUtilities.analyze(IfsConnection conn,
String schemaName)
Analyze a schema.
|
static void |
DatabaseUtilities.analyzeTable(IfsConnection conn,
String schemaName,
String tableName)
Analyze a table in a schema.
|
static boolean |
DatabaseUtilities.columnExists(IfsConnection conn,
String tableName,
String columnName)
Return true if the specified column exists in the specified table.
|
static void |
DatabaseUtilities.commit(IfsConnection conn)
Issue a commit.
|
static void |
DatabaseUtilities.createTable(IfsConnection conn,
String tableName,
String createStmt)
Create a table.
|
static void |
DatabaseUtilities.createTable(IfsConnection conn,
String tableName,
String createStmt,
boolean dropFirst)
Create a table, optionally attempting to drop the table first.
|
static void |
DatabaseUtilities.dropTable(IfsConnection conn,
String tableName)
Drop a table.
|
static void |
DatabaseUtilities.executeStatement(IfsConnection conn,
String stmtString)
Execute any SQL statement
|
static int |
DatabaseUtilities.executeUpdate(IfsConnection conn,
String stmtString)
Execute an update statement.
|
void |
CrawlerUtilities.BatchAlertInserter.initializeInsertStatement(IfsConnection conn)
Initialize the alert table insert statement.
|
static boolean |
DatabaseUtilities.isValidConnection(IfsConnection conn)
Test validity of a IfsConnection
|
static void |
DatabaseUtilities.renameColumn(IfsConnection conn,
String tableName,
String columnName,
String newColumnName)
Alter the specified table to rename a column.
|
static void |
DatabaseUtilities.rollback(IfsConnection conn)
Issue a rollback.
|
static boolean |
DatabaseUtilities.rowExists(IfsConnection conn,
String tableName,
String condition)
Return true if there is a row that meets the specified condition
for the specified table.
|
static int |
DatabaseUtilities.selectCount(IfsConnection conn,
String tableName,
String condition)
Selects the row count that meets the specified condition
for the specified table.
|
static long |
DatabaseUtilities.selectMinOrMax(IfsConnection conn,
String selClause,
String tableName,
String condition)
Selects the min or max doc ID from the specified table.
|
static boolean |
DatabaseUtilities.tableExists(IfsConnection conn,
String tableName)
Return true if the specified table exists.
|
Modifier and Type | Method and Description |
---|---|
IfsConnection |
S_LibrarySession.getIfsConnection()
Returns an IfsConnection for this S_LibrarySession.
|
Copyright © 2023. All rights reserved.