Skip to main content

@terascope/job-components / index / DataEntityMetadata

Interface: DataEntityMetadata

DataEntities have conventional metadata properties that can track source, destination and other process information.

NOTE Time values are set in UNIX Epoch time, to reduce memory footput, the DataEntity has convenience apis for getting and setting the time given and handling the conversion between unix milliseconds to Date format.

Properties

_createTime?

optional readonly _createTime: number

The time at which this entity was created (this is automatically set on DataEntity creation)

Source

packages/utils/dist/src/entities/interfaces.d.ts:26


_eventTime?

optional _eventTime: number

The time associated with this data entity, usually off of a specific field on source data or message

Source

packages/utils/dist/src/entities/interfaces.d.ts:35


_ingestTime?

optional _ingestTime: number

The time at which the data was ingested into the source data

Source

packages/utils/dist/src/entities/interfaces.d.ts:28


_key?

optional _key: string | number

A unique key for the data which will be can be used to key the data

Source

packages/utils/dist/src/entities/interfaces.d.ts:37


_processTime?

optional _processTime: number

The time at which the data was consumed by the reader

Source

packages/utils/dist/src/entities/interfaces.d.ts:30