io.searchbox.core
Class MultiGet

java.lang.Object
  extended by io.searchbox.AbstractAction
      extended by io.searchbox.core.MultiGet
All Implemented Interfaces:
Action

public class MultiGet
extends AbstractAction
implements Action

Author:
Dogukan Sonmez

Field Summary
 
Fields inherited from class io.searchbox.AbstractAction
id, indexName, typeName
 
Constructor Summary
protected MultiGet()
           
  MultiGet(List<Doc> docs)
           
  MultiGet(String[] ids)
           
  MultiGet(String type, String[] ids)
           
 
Method Summary
 byte[] createByteResult(Map jsonMap)
           
 String getPathToResult()
           
protected  Object prepareMultiGet(List<Doc> docs)
           
protected  Object prepareMultiGet(String[] ids)
           
 
Methods inherited from class io.searchbox.AbstractAction
addParameter, buildQueryString, buildURI, buildURI, getData, getId, getIdFromSource, getIndexName, getName, getParameter, getRestMethodName, getTypeName, getURI, isBulkOperation, isParameterExist, isValid, isValid, removeParameter, setBulkOperation, setData, setPathToResult, setRestMethodName, setURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.searchbox.Action
getData, getName, getRestMethodName, getURI
 

Constructor Detail

MultiGet

protected MultiGet()

MultiGet

public MultiGet(List<Doc> docs)

MultiGet

public MultiGet(String type,
                String[] ids)

MultiGet

public MultiGet(String[] ids)
Method Detail

prepareMultiGet

protected Object prepareMultiGet(List<Doc> docs)

prepareMultiGet

protected Object prepareMultiGet(String[] ids)

createByteResult

public byte[] createByteResult(Map jsonMap)
                        throws IOException
Specified by:
createByteResult in interface Action
Throws:
IOException

getPathToResult

public String getPathToResult()
Specified by:
getPathToResult in interface Action
Overrides:
getPathToResult in class AbstractAction


Copyright © 2012. All Rights Reserved.