Package org.apache.fluo.api.client
Interface Loader
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Loader
Interface that is implemented by users to load data into Fluo. Loader classes are executed by aLoaderExecutor
.- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Loader.Context
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
load(TransactionBase tx, Loader.Context context)
Users implement this method to load data into Fluo using the providedTransactionBase
.
-
-
-
Method Detail
-
load
void load(TransactionBase tx, Loader.Context context) throws Exception
Users implement this method to load data into Fluo using the providedTransactionBase
. The transaction will be committed and closed by Fluo after this method returns- Throws:
Exception
-
-