Class MappingMetaData

    • Constructor Detail

      • MappingMetaData

        public MappingMetaData​(DocumentMapper docMapper)
      • MappingMetaData

        public MappingMetaData​(java.lang.String type,
                               java.util.Map<java.lang.String,​java.lang.Object> mapping)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • MappingMetaData

        public MappingMetaData​(StreamInput in)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • type

        public java.lang.String type()
      • writeTo

        public void writeTo​(StreamOutput out)
                     throws java.io.IOException
        Description copied from interface: Writeable
        Write this into the StreamOutput.
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object