io.searchbox.core
Class Get

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

public class Get
extends AbstractAction
implements Action

Author:
Dogukan Sonmez

Nested Class Summary
static class Get.Builder
           
 
Field Summary
 
Fields inherited from class io.searchbox.AbstractAction
id, indexName, typeName
 
Constructor Summary
Get(org.elasticsearch.action.ActionRequest request)
           
 
Method Summary
 byte[] createByteResult(Map jsonMap)
           
 String getName()
           
 String getPathToResult()
           
 String getRestMethodName()
           
 String getURI()
           
 
Methods inherited from class io.searchbox.AbstractAction
addParameter, buildQueryString, buildURI, buildURI, getData, getId, getIdFromSource, getIndexName, getParameter, getTypeName, 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
 

Constructor Detail

Get

public Get(org.elasticsearch.action.ActionRequest request)
Method Detail

createByteResult

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

getName

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

getURI

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

getRestMethodName

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

getPathToResult

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


Copyright © 2012. All Rights Reserved.