Uses of Interface
org.talend.sdk.component.api.record.Schema.Entry
Package
Description
-
Uses of Schema.Entry in org.talend.sdk.component.api.record
Modifier and TypeMethodDescriptionstatic Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Function<String, Schema.Entry> entryGetter, BiConsumer<String, Schema.Entry> replaceFunction) static Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Supplier<Stream<Schema.Entry>> allEntriesSupplier, BiConsumer<String, Schema.Entry> replaceFunction) Deprecated.Schema.Entry.Builder.build()
default Schema.Entry
default Schema.Entry
Modifier and TypeMethodDescriptionSchema.getAllEntries()
Schema.EntriesOrder.getComparator()
Record.Builder.getCurrentEntries()
Schema.getEntries()
default List<Schema.Entry>
Schema.getEntriesOrdered()
Get all entries sorted by schema designed order.default List<Schema.Entry>
Schema.getEntriesOrdered
(Comparator<Schema.Entry> comparator) Get all entries sorted using a custom comparator.default Map<String,
Schema.Entry> Schema.getEntryMap()
Schema.getMetadata()
Modifier and TypeMethodDescriptionstatic Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Function<String, Schema.Entry> entryGetter, BiConsumer<String, Schema.Entry> replaceFunction) static Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Supplier<Stream<Schema.Entry>> allEntriesSupplier, BiConsumer<String, Schema.Entry> replaceFunction) Deprecated.int
Schema.EntriesOrder.compare
(Schema.Entry e1, Schema.Entry e2) default <T> T
Record.get
(Class<T> expectedType, Schema.Entry entry) default Schema.Builder
Schema.Builder.remove
(Schema.Entry entry) Remove entry from builder.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
(Schema.Entry entry, boolean value) Record.Builder.withBytes
(Schema.Entry entry, byte[] value) Record.Builder.withDateTime
(Schema.Entry entry, ZonedDateTime value) Record.Builder.withDateTime
(Schema.Entry entry, Date value) default Record.Builder
Record.Builder.withDecimal
(Schema.Entry entry, BigDecimal value) Record.Builder.withDouble
(Schema.Entry entry, double value) Schema.Builder.withEntry
(Schema.Entry entry) default Schema.Builder
Schema.Builder.withEntryAfter
(String after, Schema.Entry entry) Insert the entry after the specified entry.default Schema.Builder
Schema.Builder.withEntryBefore
(String before, Schema.Entry entry) Insert the entry before the specified entry.Record.Builder.withFloat
(Schema.Entry entry, float value) default Record.Builder
Record.Builder.withInstant
(Schema.Entry entry, Instant value) Record.Builder.withInt
(Schema.Entry entry, int value) Record.Builder.withLong
(Schema.Entry entry, long value) Record.Builder.withRecord
(Schema.Entry entry, Record value) Record.Builder.withString
(Schema.Entry entry, String value) Record.Builder.withTimestamp
(Schema.Entry entry, long value) Modifier and TypeMethodDescriptionstatic Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Function<String, Schema.Entry> entryGetter, BiConsumer<String, Schema.Entry> replaceFunction) static Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Function<String, Schema.Entry> entryGetter, BiConsumer<String, Schema.Entry> replaceFunction) static Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Supplier<Stream<Schema.Entry>> allEntriesSupplier, BiConsumer<String, Schema.Entry> replaceFunction) Deprecated.static Schema.Entry
Schema.avoidCollision
(Schema.Entry newEntry, Supplier<Stream<Schema.Entry>> allEntriesSupplier, BiConsumer<String, Schema.Entry> replaceFunction) Deprecated.default Schema
Schema.Builder.build
(Comparator<Schema.Entry> order) Same asSchema.Builder.build()
but entries order is specified byorder
.default List<Schema.Entry>
Schema.getEntriesOrdered
(Comparator<Schema.Entry> comparator) Get all entries sorted using a custom comparator. -
Uses of Schema.Entry in org.talend.sdk.component.api.service.record
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.default Schema.Entry.Builder
RecordBuilderFactory.newEntryBuilder
(Schema.Entry model) Build a schema.entry from another one.default void
RecordVisitor.onBoolean
(Schema.Entry entry, Optional<Boolean> optionalBoolean) default void
RecordVisitor.onBooleanArray
(Schema.Entry entry, Optional<Collection<Boolean>> array) default void
RecordVisitor.onBytes
(Schema.Entry entry, Optional<byte[]> bytes) default void
RecordVisitor.onBytesArray
(Schema.Entry entry, Optional<Collection<byte[]>> array) default void
RecordVisitor.onDatetime
(Schema.Entry entry, Optional<ZonedDateTime> dateTime) default void
RecordVisitor.onDatetimeArray
(Schema.Entry entry, Optional<Collection<ZonedDateTime>> array) default void
RecordVisitor.onDecimal
(Schema.Entry entry, Optional<BigDecimal> decimal) default void
RecordVisitor.onDecimalArray
(Schema.Entry entry, Optional<Collection<BigDecimal>> array) default void
RecordVisitor.onDouble
(Schema.Entry entry, OptionalDouble optionalDouble) default void
RecordVisitor.onDoubleArray
(Schema.Entry entry, Optional<Collection<Double>> array) default void
RecordVisitor.onFloat
(Schema.Entry entry, OptionalDouble optionalFloat) default void
RecordVisitor.onFloatArray
(Schema.Entry entry, Optional<Collection<Float>> array) default void
RecordVisitor.onInstant
(Schema.Entry entry, Optional<Instant> dateTime) default void
RecordVisitor.onInt
(Schema.Entry entry, OptionalInt optionalInt) default void
RecordVisitor.onIntArray
(Schema.Entry entry, Optional<Collection<Integer>> array) default void
RecordVisitor.onLong
(Schema.Entry entry, OptionalLong optionalLong) default void
RecordVisitor.onLongArray
(Schema.Entry entry, Optional<Collection<Long>> array) default void
RecordVisitor.onObject
(Schema.Entry entry, Optional<Object> object) default RecordVisitor<T>
RecordVisitor.onRecord
(Schema.Entry entry, Optional<Record> record) default RecordVisitor<T>
RecordVisitor.onRecordArray
(Schema.Entry entry, Optional<Collection<Record>> array) default void
RecordVisitor.onString
(Schema.Entry entry, Optional<String> string) default void
RecordVisitor.onStringArray
(Schema.Entry entry, Optional<Collection<String>> array) 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.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. -
Uses of Schema.Entry in org.talend.sdk.component.api.service.schema
Modifier and TypeMethodDescriptionSchema.getAllEntries()
Deprecated.Schema.getMetadata()
Deprecated.Modifier and TypeMethodDescriptionvoid
Schema.setEntries
(Collection<Schema.Entry> entries) Deprecated.