public class IndexDocumentOptions extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | IndexDocumentOptions.BuilderBuilder. | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.gson.JsonObject | convertDocumentConfig()Gets the configuration for the convert document phase. | 
| File | document()Gets the document. | 
| Boolean | dryRun()Gets the dryRun flag. | 
| InputStream | getDocumentInputStream()Gets the document as an input stream. | 
| IndexConfiguration | indexConfiguration()Gets configuration for the retrieve and rank service for the indexing phase. | 
| String | mediaType()Gets the media type. | 
| Map<String,String> | metadata()Gets the metadata. | 
| IndexDocumentOptions.Builder | newBuilder()New builder. | 
public com.google.gson.JsonObject convertDocumentConfig()
public File document()
public Boolean dryRun()
public InputStream getDocumentInputStream()
public IndexConfiguration indexConfiguration()
public String mediaType()
public Map<String,String> metadata()
public IndexDocumentOptions.Builder newBuilder()
Copyright © 2015–2016 IBM Watson. All rights reserved.