org.elasticsearch.index.engine
Class Engine.Create

java.lang.Object
  extended by org.elasticsearch.index.engine.Engine.Create
All Implemented Interfaces:
Engine.IndexingOperation, Engine.Operation
Enclosing interface:
Engine

public static class Engine.Create
extends java.lang.Object
implements Engine.IndexingOperation


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.engine.Engine.Operation
Engine.Operation.Origin, Engine.Operation.Type
 
Constructor Summary
Engine.Create(DocumentMapper docMapper, org.apache.lucene.index.Term uid, ParsedDocument doc)
           
 
Method Summary
 org.apache.lucene.analysis.Analyzer analyzer()
           
 DocumentMapper docMapper()
           
 java.util.List<org.apache.lucene.document.Document> docs()
           
 java.lang.String id()
           
 Engine.Operation.Type opType()
           
 Engine.Operation.Origin origin()
           
 Engine.Create origin(Engine.Operation.Origin origin)
           
 java.lang.String parent()
           
 ParsedDocument parsedDoc()
           
 java.lang.String routing()
           
 byte[] source()
           
 java.lang.String type()
           
 org.apache.lucene.index.Term uid()
           
 UidField uidField()
           
 long version()
           
 Engine.Create version(long version)
           
 VersionType versionType()
           
 Engine.Create versionType(VersionType versionType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Engine.Create

public Engine.Create(DocumentMapper docMapper,
                     org.apache.lucene.index.Term uid,
                     ParsedDocument doc)
Method Detail

docMapper

public DocumentMapper docMapper()
Specified by:
docMapper in interface Engine.IndexingOperation

opType

public Engine.Operation.Type opType()
Specified by:
opType in interface Engine.Operation

origin

public Engine.Create origin(Engine.Operation.Origin origin)

origin

public Engine.Operation.Origin origin()
Specified by:
origin in interface Engine.Operation

parsedDoc

public ParsedDocument parsedDoc()
Specified by:
parsedDoc in interface Engine.IndexingOperation

uid

public org.apache.lucene.index.Term uid()

type

public java.lang.String type()

id

public java.lang.String id()

routing

public java.lang.String routing()

version

public long version()

version

public Engine.Create version(long version)

versionType

public VersionType versionType()

versionType

public Engine.Create versionType(VersionType versionType)

parent

public java.lang.String parent()

docs

public java.util.List<org.apache.lucene.document.Document> docs()
Specified by:
docs in interface Engine.IndexingOperation

analyzer

public org.apache.lucene.analysis.Analyzer analyzer()

source

public byte[] source()

uidField

public UidField uidField()