Package org.cdlib.mrt.s3.tools
Class UniqueKeys
java.lang.Object
org.cdlib.mrt.s3.tools.UniqueKeys
This routine generates a list of manifest URLS that can be used as a feed to inv zookeeper loader
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUniqueKeys
(CloudStoreInf cloud, String container) Properties Constructor IdList -
Method Summary
Modifier and TypeMethodDescriptiongetSegmentKey
(String key, int delimCnt) getUniqueSegments
(List<String> keys, int delimCnt, String lastUnique) static void
static void
-
Field Details
-
NAME
- See Also:
-
MESSAGE
- See Also:
-
DEBUG
protected static final boolean DEBUG- See Also:
-
NL
-
cloud
-
container
-
startKey
-
DELIM
-
delimCnt
-
-
Constructor Details
-
UniqueKeys
Properties Constructor IdList- Parameters:
s3ServiceProp
- S3 service propertiesrunProp
- runtime properties- Throws:
org.cdlib.mrt.utility.TException
-
-
Method Details
-
getKeys
- Throws:
org.cdlib.mrt.utility.TException
-
getUnique
public List<String> getUnique(String startKey, int returnCnt, int delimCnt) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getUniqueSegments
public List<String> getUniqueSegments(List<String> keys, int delimCnt, String lastUnique) throws org.cdlib.mrt.utility.TException - Throws:
org.cdlib.mrt.utility.TException
-
getSegmentKey
- Throws:
org.cdlib.mrt.utility.TException
-
main
- Throws:
IOException
-
main1
- Throws:
IOException
-