public abstract class BaseHoodieDateTimeParser extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected TypedProperties |
config |
protected String |
configInputDateFormatDelimiter |
| Constructor and Description |
|---|
BaseHoodieDateTimeParser(TypedProperties config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigInputDateFormatDelimiter()
Returns the input date format delimiter, comma by default.
|
abstract org.joda.time.DateTimeZone |
getInputDateTimeZone()
Returns the datetime zone one should expect the incoming values into.
|
abstract Option<org.joda.time.format.DateTimeFormatter> |
getInputFormatter()
Returns input formats in which datetime based values might be coming in incoming records.
|
String |
getOutputDateFormat()
Returns the output date format in which the partition paths will be created for the hudi dataset.
|
abstract org.joda.time.DateTimeZone |
getOutputDateTimeZone()
Returns the datetime zone using which the final partition paths for hudi dataset are created.
|
protected final TypedProperties config
protected final String configInputDateFormatDelimiter
public BaseHoodieDateTimeParser(TypedProperties config)
public String getOutputDateFormat()
public abstract Option<org.joda.time.format.DateTimeFormatter> getInputFormatter()
public abstract org.joda.time.DateTimeZone getInputDateTimeZone()
public abstract org.joda.time.DateTimeZone getOutputDateTimeZone()
public String getConfigInputDateFormatDelimiter()
Copyright © 2023 The Apache Software Foundation. All rights reserved.