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 fromfieldPath
andindexOccurrence
.
-
Method Details
-
columnName
Creates a unique column name fromfieldPath
andindexOccurrence
. Implementations will need to take notice whenindexOccurrence > 0
, as that means a column name forfieldPath
has already been generatedindexOccurrence
times.- Parameters:
fieldPath
- the field pathindexOccurrence
- the number of times a column name for fieldPath has already been generated- Returns:
- the column name
-