Class MockBreakageStorage

All Implemented Interfaces:
AutoCloseable, SchemaFactory, StoragePlugin

public class MockBreakageStorage extends MockStorageEngine
  • Field Details

    • registerAttemptCount

      public int registerAttemptCount
  • Constructor Details

  • Method Details

    • setBreakRegister

      public void setBreakRegister(boolean breakRegister)
    • registerSchemas

      public void registerSchemas(SchemaConfig schemaConfig, org.apache.calcite.schema.SchemaPlus parent) throws IOException
      Description copied from interface: SchemaFactory
      Register the schemas provided by this SchemaFactory implementation under the given parent schema.
      Specified by:
      registerSchemas in interface SchemaFactory
      Overrides:
      registerSchemas in class MockStorageEngine
      Parameters:
      schemaConfig - Configuration for schema objects.
      parent - Reference to parent schema.
      Throws:
      IOException - in case of error during schema registration