public abstract class AbstractRobotService extends Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
protected static class |
AbstractRobotService.EsTimestampConverter |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static String |
CREATE_TIME |
protected String |
index |
protected static String |
LAST_MODIFIED |
protected RiverConfig |
riverConfig |
protected static String |
SESSION_ID |
protected static String[] |
timestampFields |
protected String |
type |
protected static String |
URL |
| コンストラクタと説明 |
|---|
AbstractRobotService() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
delete(String sessionId,
String url) |
void |
deleteAll() |
protected void |
deleteBySessionId(String sessionId) |
protected boolean |
exists(String sessionId,
String url) |
protected <T> T |
get(Class<T> clazz,
String sessionId,
String url) |
String |
getIndex() |
protected <T> List<T> |
getList(Class<T> clazz,
String sessionId,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
Integer from,
Integer size,
org.elasticsearch.search.sort.SortBuilder sortBuilder) |
String |
getType() |
protected org.elasticsearch.common.xcontent.XContentBuilder |
getXContentBuilder(Object target) |
protected void |
insert(Object target,
org.elasticsearch.action.index.IndexRequest.OpType opType) |
protected <T> void |
insertAll(List<T> list,
org.elasticsearch.action.index.IndexRequest.OpType opType) |
protected void |
refresh() |
void |
setIndex(String index) |
void |
setType(String type) |
protected static final String[] timestampFields
protected String index
protected String type
protected RiverConfig riverConfig
protected org.elasticsearch.common.xcontent.XContentBuilder getXContentBuilder(Object target)
protected void refresh()
protected void insert(Object target, org.elasticsearch.action.index.IndexRequest.OpType opType)
protected <T> void insertAll(List<T> list, org.elasticsearch.action.index.IndexRequest.OpType opType)
protected <T> List<T> getList(Class<T> clazz, String sessionId, org.elasticsearch.index.query.QueryBuilder queryBuilder, Integer from, Integer size, org.elasticsearch.search.sort.SortBuilder sortBuilder)
protected void deleteBySessionId(String sessionId)
public void deleteAll()
public String getIndex()
public void setIndex(String index)
public String getType()
public void setType(String type)
Copyright © 2011-2014. All Rights Reserved.