
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 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 (LSDDbAdmin admin, String outputfile) |
| static LSDDbPreparedStatement | getSizeDocument (LSDDbAdmin admin) |
Static Private Attributes | |
| static ArrayList< LSDDbIpPort > | listipstatic = null |
| static long | sidstatic = LSDConstants.invalide_idx |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.ipport_findfirst | ( | LSDDbAdmin | admin | ) | [static] |
IpPort FindFirst
| admin |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.legacy_findfirst | ( | LSDDbAdmin | admin | ) | [static] |
Legacy FindFirst
| admin |
| static long openlsd.database.data.postgresql.LSDPostGreSQLSpecific.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.postgresql.LSDPostGreSQLSpecific.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 | ||
| idipto |
| static long openlsd.database.data.postgresql.LSDPostGreSQLSpecific.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
| admin | ||
| lid | ||
| sid | ||
| did | ||
| md5 | ||
| op | ||
| opdate | ||
| idip |
| static long openlsd.database.data.postgresql.LSDPostGreSQLSpecific.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.postgresql.LSDPostGreSQLSpecific.op_refreshIdx | ( | LSDDbAdmin | admin | ) | [static] |
Update new index in Op Table.
| admin |
| static ArrayList<LSDDbOp> openlsd.database.data.postgresql.LSDPostGreSQLSpecific.op_validOps | ( | LSDDbAdmin | admin | ) | [static] |
Get list of Ops that are ready to be executed (only LSDConstants.NBLINEOP)
| admin |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.getPrimaryOp | ( | LSDDbAdmin | admin | ) | [static] |
Get the Primary Op object with status = OPStatusTodo
| admin |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.service_findfirst | ( | LSDDbAdmin | admin | ) | [static] |
Service FindFirst
| admin |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.storage_findfirstInNew | ( | LSDDbAdmin | admin, | |
| long | lid | |||
| ) | [static] |
Storage FindFirst
| admin | ||
| lid |
| static String openlsd.database.data.postgresql.LSDPostGreSQLSpecific.documents_findIndexCommit | ( | LSDDbAdmin | admin, | |
| long | lid, | |||
| long | sumsize, | |||
| int | nb | |||
| ) | [static] |
Find index for several documents that will be in the same Storage.
| admin | ||
| lid | ||
| sumsize | ||
| nb |
| static String openlsd.database.data.postgresql.LSDPostGreSQLSpecific.document_findIndexCommit | ( | LSDDbAdmin | admin, | |
| long | lid, | |||
| long | filesize | |||
| ) | [static] |
Find index for one document.
| admin | ||
| lid | ||
| filesize |
| static String openlsd.database.data.postgresql.LSDPostGreSQLSpecific.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.postgresql.LSDPostGreSQLSpecific.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 LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.admin_get | ( | LSDDbAdmin | admin, | |
| long | lid | |||
| ) | [static] |
Admin Get
| admin | ||
| lid |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.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.postgresql.LSDPostGreSQLSpecific.check_getSQLDB | ( | Timestamp | opdate, | |
| boolean | localcheckmd5, | |||
| long | newlid | |||
| ) | [static] |
Get the request string to check DB
| opdate | ||
| localcheckmd5 | ||
| newlid |
| static String openlsd.database.data.postgresql.LSDPostGreSQLSpecific.check_getSQLLSD | ( | Timestamp | opdate, | |
| boolean | localcheckmd5, | |||
| long | newlid | |||
| ) | [static] |
Get the request string to check LSD
| opdate | ||
| localcheckmd5 | ||
| newlid |
| static String openlsd.database.data.postgresql.LSDPostGreSQLSpecific.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.postgresql.LSDPostGreSQLSpecific.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.postgresql.LSDPostGreSQLSpecific.check_load | ( | LSDDbAdmin | admin, | |
| String | outputfile | |||
| ) | [static] |
Check with Load
| admin | ||
| outputfile |
| static LSDDbPreparedStatement openlsd.database.data.postgresql.LSDPostGreSQLSpecific.getSizeDocument | ( | LSDDbAdmin | admin | ) | [static] |
Return the Prepare Statement for get Size from Document in one Legacy/Storage
| admin |
ArrayList<LSDDbIpPort> openlsd.database.data.postgresql.LSDPostGreSQLSpecific.listipstatic = null [static, private] |
Try to reuse previous listip
long openlsd.database.data.postgresql.LSDPostGreSQLSpecific.sidstatic = LSDConstants.invalide_idx [static, private] |
Try to reuse previous listip : sid