class IncrementalStatefulMode extends IncrementalBaseMode
Actual implementation of IncrementalBaseMode delegating to a com.here.platform.data.processing.driver.StatefulCompilerExecutor.
This queries the data available, the changes, the state from the previous run and what is already published. It then runs the executor and publish the result of compilation to the output catalog. The new state is updated and persisted as well in the output catalog, for the next run.
- See also
IncrementalBaseMode for details on when this mode is applicable.
- Alphabetic
- By Inheritance
- IncrementalStatefulMode
- IncrementalBaseMode
- ContextLogging
- ContextAwareMode
- TaskMode
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
IncrementalStatefulMode(context: DriverContext, id: String, executor: StatefulCompilerExecutor)
- context
the com.here.platform.data.processing.driver.DriverContext relative to this mode
- id
the identifier of the com.here.platform.data.processing.driver.DriverTask the mode belongs to, for logging reasons
- executor
the executor that should eventually run
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
actualRun(): RDD[(Key, Commit)]
- Attributes
- protected
- Definition Classes
- IncrementalStatefulMode → IncrementalBaseMode
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
classForLogger: Class[_]
Override this to change the class that is displayed in logs.
Override this to change the class that is displayed in logs.
- Attributes
- protected
- Definition Classes
- ContextLogging
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
context: DriverContext
- Definition Classes
- ContextAwareMode
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
inUtils: InputCatalogUtils
- Attributes
- protected
- Definition Classes
- IncrementalBaseMode
-
def
isApplicable: Boolean
This mode is only applicable if the following conditions are met: - disableIncremental config parameter is false - what's changed is available for every input catalog - output catalog is not empty
This mode is only applicable if the following conditions are met: - disableIncremental config parameter is false - what's changed is available for every input catalog - output catalog is not empty
- returns
if the mode is applicable, so if the mode should run and its result evaluated
- Definition Classes
- IncrementalBaseMode → TaskMode
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
lazy val
logger: ContextAwareLogger
The logger to use for normal and context-aware messages.
The logger to use for normal and context-aware messages.
- Attributes
- protected
- Definition Classes
- ContextLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
outUtils: OutputCatalogUtils
- Attributes
- protected
- Definition Classes
- IncrementalBaseMode
-
val
parallelism: Int
- Attributes
- protected
- Definition Classes
- ContextAwareMode
-
def
run(): TaskResult
Runs the compiler only providing the changes since the last run for every input catalog.
Runs the compiler only providing the changes since the last run for every input catalog.
- returns
the result of the compilation if applicable, otherwise None
- Definition Classes
- IncrementalBaseMode → TaskMode
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()