Uses of Interface
org.talend.sdk.component.api.record.Record.Builder
-
Uses of Record.Builder in org.talend.sdk.component.api.record
Modifier and TypeMethodDescriptiondefault Record.Builder
Mark that next entry createdwithXXXX()
will be afterentryName
in schema order.default Record.Builder
Mark that next entry createdwithXXXX()
will be beforeentryName
in schema order.Record.Builder.removeEntry
(Schema.Entry schemaEntry) Record.Builder.updateEntryByName
(String name, Schema.Entry schemaEntry) default Record.Builder
Record.Builder.updateEntryByName
(String name, Schema.Entry schemaEntry, Function<Object, Object> valueCastFunction) Record.Builder.with
(Schema.Entry entry, Object value) <T> Record.Builder
Record.Builder.withArray
(Schema.Entry entry, Collection<T> values) Record.Builder.withBoolean
(String name, boolean value) Record.Builder.withBoolean
(Schema.Entry entry, boolean value) Record.Builder.withBytes
(Schema.Entry entry, byte[] value) Record.Builder.withDateTime
(String name, ZonedDateTime value) Record.Builder.withDateTime
(String name, Date value) Record.Builder.withDateTime
(Schema.Entry entry, ZonedDateTime value) Record.Builder.withDateTime
(Schema.Entry entry, Date value) default Record.Builder
Record.Builder.withDecimal
(String name, BigDecimal value) default Record.Builder
Record.Builder.withDecimal
(Schema.Entry entry, BigDecimal value) Record.Builder.withDouble
(String name, double value) Record.Builder.withDouble
(Schema.Entry entry, double value) Record.Builder.withFloat
(Schema.Entry entry, float value) Record.Builder.withInt
(Schema.Entry entry, int value) Record.Builder.withLong
(Schema.Entry entry, long value) default Record.Builder
Record.withNewSchema
(Schema schema) Create a Builder with values of the record present inSchema
.Record.Builder.withRecord
(String name, Record value) Record.Builder.withRecord
(Schema.Entry entry, Record value) Record.Builder.withString
(String name, String value) Record.Builder.withString
(Schema.Entry entry, String value) Record.Builder.withTimestamp
(String name, long value) Record.Builder.withTimestamp
(Schema.Entry entry, long value) -
Uses of Record.Builder in org.talend.sdk.component.api.service.record
Modifier and TypeMethodDescriptionRecordBuilderFactory.newRecordBuilder()
RecordBuilderFactory.newRecordBuilder
(Schema schema) RecordBuilderFactory.newRecordBuilder
(Schema schema, Record record) Enables to build a record from another one.Modifier and TypeMethodDescriptionRecordService.toRecord
(Schema schema, Record fallbackRecord, BiFunction<Schema.Entry, Record.Builder, Boolean> customHandler, BiConsumer<Record.Builder, Boolean> beforeFinish) Method providing a collector enabling to create a record from another one in a custom fashion.Modifier and TypeMethodDescriptionboolean
RecordService.forwardEntry
(Record source, Record.Builder builder, String sourceColumn, Schema.Entry entry) Forward an entry from the source record if it exists.Modifier and TypeMethodDescriptionRecordService.create
(Schema schema, Record fallbackRecord, BiFunction<Schema.Entry, Record.Builder, Boolean> customHandler, BiConsumer<Record.Builder, Boolean> beforeFinish) Shortcut to build a record usingRecordService.toRecord(Schema, Record, BiFunction, BiConsumer)
.RecordService.create
(Schema schema, Record fallbackRecord, BiFunction<Schema.Entry, Record.Builder, Boolean> customHandler, BiConsumer<Record.Builder, Boolean> beforeFinish) Shortcut to build a record usingRecordService.toRecord(Schema, Record, BiFunction, BiConsumer)
.RecordService.toRecord
(Schema schema, Record fallbackRecord, BiFunction<Schema.Entry, Record.Builder, Boolean> customHandler, BiConsumer<Record.Builder, Boolean> beforeFinish) Method providing a collector enabling to create a record from another one in a custom fashion.RecordService.toRecord
(Schema schema, Record fallbackRecord, BiFunction<Schema.Entry, Record.Builder, Boolean> customHandler, BiConsumer<Record.Builder, Boolean> beforeFinish) Method providing a collector enabling to create a record from another one in a custom fashion.