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.

@FunctionalInterface public static interface ProtobufConsumeOptions.FieldPathToColumnName
  • Method Summary

    Modifier and Type
    Method
    Description
    columnName(FieldPath fieldPath, int indexOccurrence)
    Creates a unique column name from fieldPath and indexOccurrence.
  • Method Details

    • columnName

      ColumnName columnName(FieldPath fieldPath, int indexOccurrence)
      Creates a unique column name from fieldPath and indexOccurrence. Implementations will need to take notice when indexOccurrence > 0, as that means a column name for fieldPath has already been generated indexOccurrence times.
      Parameters:
      fieldPath - the field path
      indexOccurrence - the number of times a column name for fieldPath has already been generated
      Returns:
      the column name