Class InputImpl
java.lang.Object
org.talend.sdk.component.runtime.base.Named
org.talend.sdk.component.runtime.base.LifecycleImpl
org.talend.sdk.component.runtime.input.InputImpl
- All Implemented Interfaces:
Serializable,Delegated,Lifecycle,Input
- Direct Known Subclasses:
StreamingInputImpl
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.talend.sdk.component.runtime.base.LifecycleImpl
delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the current checkpoint.protected voidinit()protected voidbooleanIs a new checkpoint available.next()protected ObjectreadNext()voidstart()voidstart(Consumer<CheckpointState> checkpointCallback) Start the input with a checkpoint callback feature and resuming state.voidstop()protected ObjectMethods inherited from class org.talend.sdk.component.runtime.base.LifecycleImpl
doInvoke, equals, evaluateParameters, findMethods, hashCode, serializeDelegate
-
Constructor Details
-
InputImpl
-
InputImpl
protected InputImpl()
-
-
Method Details
-
start
- Specified by:
startin interfaceLifecycle- Overrides:
startin classLifecycleImpl
-
start
Description copied from interface:InputStart the input with a checkpoint callback feature and resuming state. -
initCheckpointFunctions
-
next
-
getCheckpoint
Description copied from interface:InputRetrieve the current checkpoint.- Specified by:
getCheckpointin interfaceInput
-
isCheckpointReady
Description copied from interface:InputIs a new checkpoint available.- Specified by:
isCheckpointReadyin interfaceInput
-
stop
- Specified by:
stopin interfaceLifecycle- Overrides:
stopin classLifecycleImpl
-
getDelegate
- Specified by:
getDelegatein interfaceDelegated
-
readNext
-
init
-
writeReplace
- Throws:
ObjectStreamException
-