Package io.deephaven.kafka.protobuf
Interface ProtobufConsumeOptions.FieldPathToColumnName
- Enclosing class:
- ProtobufConsumeOptions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptioncolumnName(FieldPath fieldPath, int indexOccurrence) Creates a unique column name fromfieldPathandindexOccurrence.
-
Method Details
-
columnName
Creates a unique column name fromfieldPathandindexOccurrence. Implementations will need to take notice whenindexOccurrence > 0, as that means a column name forfieldPathhas already been generatedindexOccurrencetimes.- Parameters:
fieldPath- the field pathindexOccurrence- the number of times a column name for fieldPath has already been generated- Returns:
- the column name
-