public class IndexDocumentOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexDocumentOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonObject |
convertDocumentConfig()
Gets the configuration for the convert document phase.
|
java.io.File |
document()
Gets the document.
|
java.lang.Boolean |
dryRun()
Gets the dryRun flag.
|
java.io.InputStream |
getDocumentInputStream()
Gets the document as an input stream.
|
IndexConfiguration |
indexConfiguration()
Gets configuration for the retrieve and rank service for the indexing phase.
|
java.lang.String |
mediaType()
Gets the media type.
|
java.util.Map<java.lang.String,java.lang.String> |
metadata()
Gets the metadata.
|
IndexDocumentOptions.Builder |
newBuilder()
New builder.
|
public com.google.gson.JsonObject convertDocumentConfig()
public java.io.File document()
public java.lang.Boolean dryRun()
public java.io.InputStream getDocumentInputStream()
public IndexConfiguration indexConfiguration()
public java.lang.String mediaType()
public java.util.Map<java.lang.String,java.lang.String> metadata()
public IndexDocumentOptions.Builder newBuilder()