Package org.apache.drill.exec.store.sys
Class ProfileJsonIterator
java.lang.Object
org.apache.drill.exec.store.sys.ProfileIterator
org.apache.drill.exec.store.sys.ProfileJsonIterator
System table listing completed profiles as JSON documents
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.drill.exec.store.sys.ProfileIterator
isAdmin, profileStoreContext, queryingUsername
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Iterator<Map.Entry<String,
UserBitShared.QueryProfile>> getProfiles
(int skip, int take) Returns profiles based of given range.boolean
hasNext()
next()
void
remove()
Methods inherited from class org.apache.drill.exec.store.sys.ProfileIterator
computeDuration, getAuthorizedProfiles
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ProfileJsonIterator
-
-
Method Details
-
getProfiles
Description copied from class:ProfileIterator
Returns profiles based of given range.- Specified by:
getProfiles
in classProfileIterator
- Parameters:
skip
- number of profiles to skiptake
- number of profiles to return- Returns:
- profiles iterator
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()
-