Interface AccessStrategy
-
- All Known Implementing Classes:
MappableRowByRowAccessStrategy,RowByRowAccessStrategy,SessionTimeWindowAccessStrategy,SlidingSizeWindowAccessStrategy,SlidingTimeWindowAccessStrategy,StateWindowAccessStrategy
public interface AccessStrategyUsed to customize the strategy for accessing raw data inUDTF.beforeStart(UDFParameters, UDTFConfigurations).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAccessStrategy.AccessStrategyType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheck()Used by the system to check the access strategy.AccessStrategy.AccessStrategyTypegetAccessStrategyType()Returns the actual access strategy type.
-
-
-
Method Detail
-
check
void check()
Used by the system to check the access strategy.- Throws:
java.lang.RuntimeException- if invalid strategy is set
-
getAccessStrategyType
AccessStrategy.AccessStrategyType getAccessStrategyType()
Returns the actual access strategy type.- Returns:
- the actual access strategy type
-
-