public abstract class HdfsConfig extends SourceConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HAS_TIME_SNAPSHOT |
static java.lang.String |
PATH |
static java.lang.String |
TIME_PARTITION_PATTERN |
_sourceName, TYPE| Modifier | Constructor and Description |
|---|---|
protected |
HdfsConfig(java.lang.String sourceName,
java.lang.String path)
Constructor
|
protected |
HdfsConfig(java.lang.String sourceName,
java.lang.String path,
java.lang.String timePartitionPattern)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getPath() |
SourceType |
getSourceType() |
java.util.Optional<java.lang.String> |
getTimePartitionPattern() |
int |
hashCode() |
java.lang.String |
toString() |
getSourceNamepublic static final java.lang.String PATH
public static final java.lang.String HAS_TIME_SNAPSHOT
public static final java.lang.String TIME_PARTITION_PATTERN
protected HdfsConfig(java.lang.String sourceName,
java.lang.String path,
java.lang.String timePartitionPattern)
sourceName - the name of the source and it is referenced by the anchor in the feature definitionpath - HDFS path or Dali URI used to access HDFStimePartitionPattern - format of the time partitioned featureprotected HdfsConfig(java.lang.String sourceName,
java.lang.String path)
path - HDFS path or Dali URI used to access HDFSpublic java.lang.String getPath()
public java.util.Optional<java.lang.String> getTimePartitionPattern()
public SourceType getSourceType()
getSourceType in class SourceConfigpublic boolean equals(java.lang.Object o)
equals in class SourceConfigpublic int hashCode()
hashCode in class SourceConfigpublic java.lang.String toString()
toString in class java.lang.Object