Interface SchemaNameAdjuster.ReplacementFunction

  • Enclosing interface:
    SchemaNameAdjuster
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @ThreadSafe
    public static interface SchemaNameAdjuster.ReplacementFunction
    Function used to determine the replacement for a character that is not valid per Avro rules.
    • Method Detail

      • replace

        String replace​(char invalid)
        Determine the replacement string for the invalid character.
        Parameters:
        invalid - the invalid character
        Returns:
        the replacement string; may not be null