Interface IonBufferConfiguration.OversizedSymbolTableHandler

  • Enclosing class:
    IonBufferConfiguration

    public static interface IonBufferConfiguration.OversizedSymbolTableHandler
    Functional interface for handling oversized symbol tables.
    • Method Detail

      • onOversizedSymbolTable

        void onOversizedSymbolTable()
                             throws java.lang.Exception
        Invoked when the user specifies a finite maximum buffer size and that size is exceeded by symbol table(s) alone. Because symbol tables cannot be truncated without corrupting values that follow in the stream, this condition is not recoverable. After this method is called, ReaderLookaheadBuffer.fillInput() has no effect.
        Throws:
        java.lang.Exception - if handler logic fails.