public class HopDeleteDeps extends BaseTable
| Field | Type | Description |
|---|---|---|
| jobid | BIGINT | Reference:jobs.id |
| ownerid | BIGINT | Reference:hopcount.id |
| linktype | VARCHAR(255) | |
| parentidhash | VARCHAR(40) | |
| childidhash | VARCHAR(40) |
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
static String |
childIDHashField |
static String |
jobIDField |
static String |
linkTypeField |
static String |
ownerIDField |
static String |
parentIDHashField |
dbInterface, tableName| Constructor and Description |
|---|
HopDeleteDeps(IDBInterface database)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyzeTables()
Analyze job tables that need analysis.
|
void |
deinstall()
Uninstall.
|
void |
deleteDependency(Long ownerID,
DeleteDependency dd)
Delete a dependency
|
void |
deleteJob(Long jobID)
Delete a job.
|
void |
deleteOwnerRows(Long[] ownerIDs)
Delete rows related to specified owners.
|
DeleteDependency[] |
getDeleteDependencies(Long ownerID)
Get the delete dependencies for an owner.
|
void |
install(String jobsTable,
String jobsColumn,
String hopCountTable,
String idColumn)
Install or upgrade.
|
void |
removeMarkedRows(String parentTable,
String parentIDHashField,
String query,
ArrayList queryList)
Remove rows that correspond to specific hopcount records.
|
void |
writeDependency(Long ownerID,
Long jobID,
DeleteDependency dd)
Write a delete dependency.
|
addTableIndex, analyzeTable, beginTransaction, buildConjunctionClause, constructCountClause, constructDistinctOnClause, constructDoubleCastClause, constructOffsetLimitClause, constructRegexpClause, constructSubstringClause, endTransaction, findConjunctionClauseMax, getDatabaseCacheKey, getDBInterface, getMaxInClause, getMaxOrClause, getSleepAmt, getTableIndexes, getTableName, getTableSchema, getTransactionID, getWindowedReportMaxRows, makeTableKey, noteModifications, performAddIndex, performAlter, performCommit, performCreate, performDelete, performDrop, performInsert, performModification, performQuery, performQuery, performRemoveIndex, performUpdate, prepareRowForSave, readRow, reindexTable, signalRollback, sleepForpublic static final String _rcsid
public static final String jobIDField
public static final String ownerIDField
public static final String linkTypeField
public static final String parentIDHashField
public static final String childIDHashField
public HopDeleteDeps(IDBInterface database) throws ManifoldCFException
database - is the database handle.ManifoldCFExceptionpublic void install(String jobsTable, String jobsColumn, String hopCountTable, String idColumn) throws ManifoldCFException
ManifoldCFExceptionpublic void deinstall()
throws ManifoldCFException
ManifoldCFExceptionpublic void analyzeTables()
throws ManifoldCFException
ManifoldCFExceptionpublic void deleteJob(Long jobID) throws ManifoldCFException
ManifoldCFExceptionpublic void removeMarkedRows(String parentTable, String parentIDHashField, String query, ArrayList queryList) throws ManifoldCFException
ManifoldCFExceptionpublic void deleteOwnerRows(Long[] ownerIDs) throws ManifoldCFException
ManifoldCFExceptionpublic DeleteDependency[] getDeleteDependencies(Long ownerID) throws ManifoldCFException
ManifoldCFExceptionpublic void deleteDependency(Long ownerID, DeleteDependency dd) throws ManifoldCFException
ManifoldCFExceptionpublic void writeDependency(Long ownerID, Long jobID, DeleteDependency dd) throws ManifoldCFException
ManifoldCFException