Class SourceToParse


  • public class SourceToParse
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SourceToParse.Origin  
    • Method Summary

      Modifier and Type Method Description
      XContentType getXContentType()  
      java.lang.String id()  
      java.lang.String index()  
      java.lang.String routing()  
      BytesReference source()  
      java.lang.String type()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceToParse

        public SourceToParse​(java.lang.String index,
                             java.lang.String type,
                             java.lang.String id,
                             BytesReference source,
                             XContentType xContentType,
                             @Nullable
                             java.lang.String routing)
      • SourceToParse

        public SourceToParse​(java.lang.String index,
                             java.lang.String type,
                             java.lang.String id,
                             BytesReference source,
                             XContentType xContentType)
    • Method Detail

      • index

        public java.lang.String index()
      • type

        public java.lang.String type()
      • id

        public java.lang.String id()
      • routing

        @Nullable
        public java.lang.String routing()