Spring Data Elasticsearch

org.springframework.data.elasticsearch.core.query
Class UpdateQueryBuilder

java.lang.Object
  extended by org.springframework.data.elasticsearch.core.query.UpdateQueryBuilder

public class UpdateQueryBuilder
extends Object

Author:
Rizwan Idrees, Mohsin Husen

Constructor Summary
UpdateQueryBuilder()
           
 
Method Summary
 UpdateQuery build()
           
 UpdateQueryBuilder withClass(Class clazz)
           
 UpdateQueryBuilder withDoUpsert(boolean doUpsert)
           
 UpdateQueryBuilder withId(String id)
           
 UpdateQueryBuilder withIndexName(String indexName)
           
 UpdateQueryBuilder withIndexRequest(org.elasticsearch.action.index.IndexRequest indexRequest)
           
 UpdateQueryBuilder withType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateQueryBuilder

public UpdateQueryBuilder()
Method Detail

withId

public UpdateQueryBuilder withId(String id)

withIndexRequest

public UpdateQueryBuilder withIndexRequest(org.elasticsearch.action.index.IndexRequest indexRequest)

withIndexName

public UpdateQueryBuilder withIndexName(String indexName)

withType

public UpdateQueryBuilder withType(String type)

withClass

public UpdateQueryBuilder withClass(Class clazz)

withDoUpsert

public UpdateQueryBuilder withDoUpsert(boolean doUpsert)

build

public UpdateQuery build()

Spring Data Elasticsearch

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.