Class SerializableMetadataProvider

  • All Implemented Interfaces:
    IHopMetadataProvider

    public class SerializableMetadataProvider
    extends MemoryMetadataProvider
    implements IHopMetadataProvider
    This metadata implementation is an in-memory metadata which serializes using JSON. In other words, JSON is read into memory as a MetaStore and then you can ask to serialize that information to and from JSON.
    • Constructor Detail

      • SerializableMetadataProvider

        public SerializableMetadataProvider()
      • SerializableMetadataProvider

        public SerializableMetadataProvider​(IHopMetadataProvider source)
                                     throws HopException
        Create a copy of all elements in an existing metadata.
        Parameters:
        source - the source store to copy over
        Throws:
        HopException
      • SerializableMetadataProvider

        public SerializableMetadataProvider​(String storeJson)
                                     throws org.json.simple.parser.ParseException,
                                            HopException
        Throws:
        org.json.simple.parser.ParseException
        HopException