public static enum DataManagerSchemalessEvent.FireTime extends java.lang.Enum<DataManagerSchemalessEvent.FireTime> implements EventFireTime<DataManagerSchemalessEvent>
Enum Constant and Description |
---|
onFlushEnd
Fired after writing all data.
|
onFlushStart
Fired when beginning to write the data.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultReturnValue(DataManagerSchemalessEvent data)
Gets the default value to return for this time from the data
|
static DataManagerSchemalessEvent.FireTime |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataManagerSchemalessEvent.FireTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataManagerSchemalessEvent.FireTime onFlushStart
public static final DataManagerSchemalessEvent.FireTime onFlushEnd
public static DataManagerSchemalessEvent.FireTime[] values()
for (DataManagerSchemalessEvent.FireTime c : DataManagerSchemalessEvent.FireTime.values()) System.out.println(c);
public static DataManagerSchemalessEvent.FireTime valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public java.lang.Object getDefaultReturnValue(DataManagerSchemalessEvent data)
EventFireTime
getDefaultReturnValue
in interface EventFireTime<DataManagerSchemalessEvent>
data
- The event data