Static Public Member Functions | |
static LSDDbPreparedStatement | ipport_findfirst (LSDDbAdmin admin) |
static LSDDbPreparedStatement | legacy_findfirst (LSDDbAdmin admin) |
static long | op_newindex (LSDDbAdmin admin) |
static void | op_createOpFromCheck (LSDDbAdmin admin, long lid, long sid, long did, String md5, int op, Timestamp opdate, long idip, long idipto) |
static long | op_createOpForDocument (LSDDbAdmin admin, long lid, long sid, long did, String md5, int op, Timestamp opdate, long idip) |
static long | op_createOpFromLegacyStorage (LSDDbAdmin admin, long lid, long sid, long idip) |
static boolean | op_refreshIdx (LSDDbAdmin admin) |
static ArrayList< LSDDbOp > | op_validOps (LSDDbAdmin admin) |
static LSDDbPreparedStatement | getPrimaryOp (LSDDbAdmin admin) |
static LSDDbPreparedStatement | service_findfirst (LSDDbAdmin admin) |
static LSDDbPreparedStatement | storage_findfirstInNew (LSDDbAdmin admin, long lid) |
static String | documents_findIndexCommit (LSDDbAdmin admin, long lid, long sumsize, int nb) |
static String | document_findIndexCommit (LSDDbAdmin admin, long lid, long filesize) |
static String | documents_findIndexCommitOp (LSDDbAdmin admin, long lid, long sumsize, int nb, long idip) |
static String | document_findIndexCommitOp (LSDDbAdmin admin, long lid, long filesize, long idip) |
static String | doc_hint () |
static String | doc_hintLSDate () |
static LSDDbPreparedStatement | admin_get (LSDDbAdmin admin, long lid) |
static LSDDbPreparedStatement | check_get (LSDDbAdmin admin, LSDDbPreparedStatement p_check_get, long lid, long start, long end, Timestamp opdate) |
static String | check_getSQLDB (Timestamp opdate, boolean localcheckmd5, long newlid) |
static String | check_getSQLLSD (Timestamp opdate, boolean localcheckmd5, long newlid) |
static String | check_getSQLDBDual (Timestamp opdate, Timestamp limitdate, boolean localcheckmd5, long newlid) |
static String | check_getSQLLSDDual (Timestamp opdate, Timestamp limitdate, boolean localcheckmd5, long newlid) |
static int | check_load (String outputfile) |
static LSDDbPreparedStatement | getSizeDocument (LSDDbAdmin admin) |
Static Private Member Functions | |
static String | op_hintStatusIdopOpIdip () |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.ipport_findfirst | ( | LSDDbAdmin | admin | ) | [static] |
IpPort FindFirst
admin |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.legacy_findfirst | ( | LSDDbAdmin | admin | ) | [static] |
Legacy FindFirst
admin |
static long openlsd.database.data.oracle.LSDOracleSpecific.op_newindex | ( | LSDDbAdmin | admin | ) | [static] |
Get a new index in Op Table. Does not commit so the caller needs to do commit.
admin |
static void openlsd.database.data.oracle.LSDOracleSpecific.op_createOpFromCheck | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | sid, | |||
long | did, | |||
String | md5, | |||
int | op, | |||
Timestamp | opdate, | |||
long | idip, | |||
long | idipto | |||
) | [static] |
Create Op for Check for the Document and IDIP as source and IDIPTO as target
admin | ||
lid | ||
sid | ||
did | ||
md5 | ||
op | ||
opdate | ||
idip | (source or referent) | |
idipto | (target) |
static long openlsd.database.data.oracle.LSDOracleSpecific.op_createOpForDocument | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | sid, | |||
long | did, | |||
String | md5, | |||
int | op, | |||
Timestamp | opdate, | |||
long | idip | |||
) | [static] |
Create Ops for Document and IDIP (Commit since there is a lock)
admin | ||
lid | ||
sid | ||
did | ||
md5 | ||
op | ||
opdate | ||
idip |
static long openlsd.database.data.oracle.LSDOracleSpecific.op_createOpFromLegacyStorage | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | sid, | |||
long | idip | |||
) | [static] |
Create Op from Document for the specific Legacy and Storage and IDIP
admin | ||
lid | ||
sid | ||
idip |
static boolean openlsd.database.data.oracle.LSDOracleSpecific.op_refreshIdx | ( | LSDDbAdmin | admin | ) | [static] |
Update new index in Op Table.
admin |
static String openlsd.database.data.oracle.LSDOracleSpecific.op_hintStatusIdopOpIdip | ( | ) | [static, private] |
Returns the hint for OP on INDEX (Oracle specific)
static ArrayList<LSDDbOp> openlsd.database.data.oracle.LSDOracleSpecific.op_validOps | ( | LSDDbAdmin | admin | ) | [static] |
Get list of Ops that are ready to be executed (only LSDConstants.NBLINEOP)
admin |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.getPrimaryOp | ( | LSDDbAdmin | admin | ) | [static] |
Get the Primary Op object with status = OPStatusTodo
admin |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.service_findfirst | ( | LSDDbAdmin | admin | ) | [static] |
Service FindFirst
admin |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.storage_findfirstInNew | ( | LSDDbAdmin | admin, | |
long | lid | |||
) | [static] |
Storage FindFirst
admin | ||
lid |
static String openlsd.database.data.oracle.LSDOracleSpecific.documents_findIndexCommit | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | sumsize, | |||
int | nb | |||
) | [static] |
Find index for several documents that will be in the same Storage (only LSDConstants.NBLINEOP).
admin | ||
lid | ||
sumsize | ||
nb |
static String openlsd.database.data.oracle.LSDOracleSpecific.document_findIndexCommit | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | filesize | |||
) | [static] |
Find index for one document.
admin | ||
lid | ||
filesize |
static String openlsd.database.data.oracle.LSDOracleSpecific.documents_findIndexCommitOp | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | sumsize, | |||
int | nb, | |||
long | idip | |||
) | [static] |
Find index for several documents that will be in the same Storage (only LSDConstants.NBLINEOP) and create temporary Op entries.
admin | ||
lid | ||
sumsize | ||
nb | ||
idip | of the source |
static String openlsd.database.data.oracle.LSDOracleSpecific.document_findIndexCommitOp | ( | LSDDbAdmin | admin, | |
long | lid, | |||
long | filesize, | |||
long | idip | |||
) | [static] |
Find index for one document and create temporary Op entry.
admin | ||
lid | ||
filesize | ||
idip | of the source |
static String openlsd.database.data.oracle.LSDOracleSpecific.doc_hint | ( | ) | [static] |
Returns the hint for DOC on PK (Oracle specific bug for update on PK!)
static String openlsd.database.data.oracle.LSDOracleSpecific.doc_hintLSDate | ( | ) | [static] |
Returns the hint for DOC on LSDate Index
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.admin_get | ( | LSDDbAdmin | admin, | |
long | lid | |||
) | [static] |
Admin Get
admin | ||
lid |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.check_get | ( | LSDDbAdmin | admin, | |
LSDDbPreparedStatement | p_check_get, | |||
long | lid, | |||
long | start, | |||
long | end, | |||
Timestamp | opdate | |||
) | [static] |
Check Get
admin | ||
p_check_get | ||
lid | ||
start | ||
end | ||
opdate |
static String openlsd.database.data.oracle.LSDOracleSpecific.check_getSQLDB | ( | Timestamp | opdate, | |
boolean | localcheckmd5, | |||
long | newlid | |||
) | [static] |
Get the request string to check DB
opdate | ||
localcheckmd5 | ||
newlid |
static String openlsd.database.data.oracle.LSDOracleSpecific.check_getSQLLSD | ( | Timestamp | opdate, | |
boolean | localcheckmd5, | |||
long | newlid | |||
) | [static] |
Get the request string to check LSD
opdate | ||
localcheckmd5 | ||
newlid |
static String openlsd.database.data.oracle.LSDOracleSpecific.check_getSQLDBDual | ( | Timestamp | opdate, | |
Timestamp | limitdate, | |||
boolean | localcheckmd5, | |||
long | newlid | |||
) | [static] |
Get the request string to check DB
opdate | ||
limitdate | ||
localcheckmd5 | ||
newlid |
static String openlsd.database.data.oracle.LSDOracleSpecific.check_getSQLLSDDual | ( | Timestamp | opdate, | |
Timestamp | limitdate, | |||
boolean | localcheckmd5, | |||
long | newlid | |||
) | [static] |
Get the request string to check LSD
opdate | ||
limitdate | ||
localcheckmd5 | ||
newlid |
static int openlsd.database.data.oracle.LSDOracleSpecific.check_load | ( | String | outputfile | ) | [static] |
Check with Load
outputfile |
static LSDDbPreparedStatement openlsd.database.data.oracle.LSDOracleSpecific.getSizeDocument | ( | LSDDbAdmin | admin | ) | [static] |
Return the Prepare Statement for get Size from Document in one Legacy/Storage
admin |