Class CompactAction.CompactActionFactory
- java.lang.Object
-
- alluxio.table.common.transform.action.CompactAction.CompactActionFactory
-
- All Implemented Interfaces:
TransformActionFactory
- Enclosing class:
- CompactAction
public static class CompactAction.CompactActionFactory extends java.lang.Object implements TransformActionFactory
Factory to create an instance.
-
-
Constructor Summary
Constructors Constructor Description CompactActionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformActioncreate(java.util.Properties properties)Creates a new instance of an action based on the properties.intgetOrder()Returns the order of the transform action.java.lang.StringtoString()
-
-
-
Method Detail
-
getOrder
public int getOrder()
Description copied from interface:TransformActionFactoryReturns the order of the transform action. Transform actions with a lower number will be executed before transform actions with a higher number. Behavior is undefined for actions with equal number.- Specified by:
getOrderin interfaceTransformActionFactory- Returns:
- integer representing order number
-
create
public TransformAction create(java.util.Properties properties)
Description copied from interface:TransformActionFactoryCreates a new instance of an action based on the properties. Null should be returned when the particular action is not necessary.- Specified by:
createin interfaceTransformActionFactory- Parameters:
properties- the raw definition of the action- Returns:
- a new instance of an action
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-