|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storage
A class to encapsulate the storage for a given feed which can either be expressed as a path on the file system or a table in a catalog.
Nested Class Summary | |
---|---|
static class |
Storage.TYPE
Enumeration for the various storage types. |
Field Summary | |
---|---|
static String |
DOLLAR_EXPR_START_NORMALIZED
URI Friendly expression. |
static String |
DOLLAR_EXPR_START_REGEX
|
static String |
EXPR_CLOSE_NORMALIZED
|
static String |
EXPR_CLOSE_REGEX
|
static String |
QUESTION_EXPR_START_REGEX
|
Method Summary | |
---|---|
boolean |
exists()
Check if the storage, filesystem location or catalog table exists. |
Storage.TYPE |
getType()
Return the type of storage. |
String |
getUriTemplate()
Return the uri template. |
String |
getUriTemplate(org.apache.falcon.entity.v0.feed.LocationType locationType)
Return the uri template for a given location type. |
boolean |
isIdentical(Storage toCompareAgainst)
Check for equality of this instance against the one in question. |
Field Detail |
---|
static final String DOLLAR_EXPR_START_REGEX
static final String QUESTION_EXPR_START_REGEX
static final String EXPR_CLOSE_REGEX
static final String DOLLAR_EXPR_START_NORMALIZED
static final String EXPR_CLOSE_NORMALIZED
Method Detail |
---|
Storage.TYPE getType()
String getUriTemplate()
String getUriTemplate(org.apache.falcon.entity.v0.feed.LocationType locationType)
locationType
- type of location, applies only to filesystem type
boolean exists() throws FalconException
FalconException
- an exceptionboolean isIdentical(Storage toCompareAgainst) throws FalconException
toCompareAgainst
- instance to compare
FalconException
- an exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |