use of io.confluent.ksql.GenericKey.Builder in project ksql by confluentinc.
the class GenericRecordFactory method buildKey.
private static GenericKey buildKey(final LogicalSchema schema, final Map<ColumnName, Object> values) {
final Builder builder = GenericKey.builder(schema);
schema.key().stream().map(Column::name).map(values::get).forEach(builder::append);
return builder.build();
}