public class SimpleQueryProfiler extends Object implements QueryProfiler, Iterable<SimpleQueryProfiler>
AND_QUERY, CONDITION_ANNOTATION, FITTED_ANNOTATION, FULLSCAN_ANNOTATION, INDEX_ANNOTATION, LIMIT_ANNOTATION, MULTIQUERY_ANNOTATION, NO_OP, NUMVERTICES_ANNOTATION, OPTIMIZATION, OR_QUERY, ORDERED_ANNOTATION, ORDERS_ANNOTATION, PARTITIONED_VERTEX_ANNOTATION, QUERY_ANNOTATION| Constructor and Description |
|---|
SimpleQueryProfiler() |
SimpleQueryProfiler(String groupName) |
| Modifier and Type | Method and Description |
|---|---|
QueryProfiler |
addNested(String groupName) |
<O> O |
getAnnotation(String key) |
Map<String,Object> |
getAnnotations() |
String |
getGroupName() |
long |
getResultSize() |
long |
getTotalTime() |
Iterator<SimpleQueryProfiler> |
iterator() |
QueryProfiler |
setAnnotation(String key,
Object value) |
void |
setResultSize(long size) |
void |
startTimer() |
void |
stopTimer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprofile, profile, profile, profileforEach, spliteratorpublic SimpleQueryProfiler()
public SimpleQueryProfiler(String groupName)
public QueryProfiler addNested(String groupName)
addNested in interface QueryProfilerpublic String getGroupName()
public QueryProfiler setAnnotation(String key, Object value)
setAnnotation in interface QueryProfilerpublic void startTimer()
startTimer in interface QueryProfilerpublic void stopTimer()
stopTimer in interface QueryProfilerpublic void setResultSize(long size)
setResultSize in interface QueryProfilerpublic Iterator<SimpleQueryProfiler> iterator()
iterator in interface Iterable<SimpleQueryProfiler>public <O> O getAnnotation(String key)
public long getTotalTime()
public long getResultSize()
Copyright © 2012–2015. All rights reserved.