Skip to main content

@terascope/job-components / interfaces/operations

interfaces/operations

Index

Interfaces

InterfaceDescription
ExecutionStats-
SliceResult-
SlicerFn-
SlicerRecoveryDataThe metadata given to Slicer after successfully recovering the execution

Type Aliases

CrossValidationFn()

CrossValidationFn: (job, sysconfig) => void

Parameters

ParameterType
jobValidatedJobConfig
sysconfigSysConfig

Returns

void

Source

packages/job-components/src/interfaces/operations.ts:4


OpAPI

OpAPI: OpAPIFn | OpAPIInstance

Source

packages/job-components/src/interfaces/operations.ts:47


OpAPIFn()

OpAPIFn: (...args) => any

Parameters

ParameterType
...argsany[]

Returns

any

Source

packages/job-components/src/interfaces/operations.ts:43


OpAPIInstance

OpAPIInstance: object

Index signature

[method: string]: OpAPIFn | any

Source

packages/job-components/src/interfaces/operations.ts:44


ProcessorFn()<T>

ProcessorFn<T>: (data, logger, sliceRequest) => Promise<T> | T

Type parameters

Type parameter
T

Parameters

ParameterType
dataT
loggerLogger
sliceRequestSliceRequest

Returns

Promise<T> | T

Source

packages/job-components/src/interfaces/operations.ts:12


ReaderFn()<T>

ReaderFn<T>: (sliceRequest, logger) => Promise<T> | T

Type parameters

Type parameter
T

Parameters

ParameterType
sliceRequestSliceRequest
loggerLogger

Returns

Promise<T> | T

Source

packages/job-components/src/interfaces/operations.ts:10


SelfValidationFn()

SelfValidationFn: (config) => void

Parameters

ParameterType
configOpConfig

Returns

void

Source

packages/job-components/src/interfaces/operations.ts:8


SlicerFns

SlicerFns: SlicerFn[]

Source

packages/job-components/src/interfaces/operations.ts:41


SlicerResult

SlicerResult: Slice | SliceRequest | SliceRequest[] | null

Source

packages/job-components/src/interfaces/operations.ts:28

Variables

sliceAnalyticsMetrics

const sliceAnalyticsMetrics: readonly keyof SliceAnalyticsData[]

Source

packages/job-components/src/interfaces/operations.ts:26