org
.
sparklinedata
.
druid
.
client
DruidOverlordClient
class
DruidOverlordClient
extends
DruidClient
Self Type
DruidOverlordClient
Linear Supertypes
DruidClient
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DruidOverlordClient
DruidClient
Logging
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
DruidOverlordClient
(
host:
String
,
port:
Int
,
useSmile:
Boolean
=
false
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
addHeaders
(
req:
HttpRequestBase
,
reqHeaders:
Map
[
String
,
String
]
)
:
Unit
Attributes
protected
Definition Classes
DruidClient
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
executeQuery
(
url:
String
,
qry:
QuerySpec
)
:
List
[
ResultRow
]
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
executeQueryAsStream
(
url:
String
,
qry:
QuerySpec
)
:
CloseableIterator
[
ResultRow
]
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
get
(
url:
String
,
payload:
JValue
=
null
,
reqHeaders:
Map
[
String
,
String
] =
null
)
:
JValue
Attributes
protected
Definition Classes
DruidClient
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getPendingTasks
:
List
[
OverlordTaskResponseObject
]
def
getRequest
(
url:
String
)
:
DruidHttpGet
Attributes
protected
Definition Classes
DruidClient
def
getRunningTasks
:
List
[
OverlordTaskResponseObject
]
def
getTaskStatus
(
taskID:
String
)
:
OverlordTaskStatus.Value
def
getWaitingTasks
:
List
[
OverlordTaskResponseObject
]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
httpClient
:
CloseableHttpClient
Attributes
protected
Definition Classes
DruidClient
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isTraceEnabled
()
:
Boolean
Attributes
protected
Definition Classes
Logging
val
jsonOps
:
JsonOperations
def
log
:
Logger
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logName
:
String
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
metadata
(
url:
String
,
dataSource:
String
,
segs:
List
[
DruidSegmentInfo
]
,
fullIndex:
Boolean
)
:
DruidDataSource
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
perform
(
url:
String
,
reqType: (
String
) ⇒
HttpRequestBase
,
payload:
JValue
,
reqHeaders:
Map
[
String
,
String
]
)
:
JValue
Attributes
protected
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
performQuery
(
url:
String
,
reqType: (
String
) ⇒
HttpRequestBase
,
qrySpec:
QuerySpec
,
payload:
JValue
,
reqHeaders:
Map
[
String
,
String
]
)
:
CloseableIterator
[
ResultRow
]
Attributes
protected
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
post
(
url:
String
,
payload:
JValue
,
reqHeaders:
Map
[
String
,
String
] =
null
)
:
JValue
Attributes
protected
Definition Classes
DruidClient
def
postQuery
(
url:
String
,
qrySpec:
QuerySpec
,
payload:
JValue
,
reqHeaders:
Map
[
String
,
String
] =
null
)
:
CloseableIterator
[
ResultRow
]
Definition Classes
DruidClient
def
postRequest
(
url:
String
)
:
DruidHttpPost
Attributes
protected
Definition Classes
DruidClient
def
release
(
resp:
CloseableHttpResponse
)
:
Unit
Attributes
protected
Definition Classes
DruidClient
def
serverStatus
:
ServerStatus
Definition Classes
DruidClient
def
setCancellableHolder
(
c:
CancellableHolder
)
:
Unit
Definition Classes
DruidClient
def
shutDownTask
(
taskID:
String
)
:
Map
[
String
,
String
]
def
submitTask
(
task:
String
)
:
String
def
submitTask
(
taskFile:
File
)
:
String
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
timeBoundary
(
dataSource:
String
)
:
Interval
Definition Classes
DruidOverlordClient
→
DruidClient
def
toString
()
:
String
Definition Classes
AnyRef → Any
val
urlPrefix
:
String
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
waitUntilTaskCompletes
(
taskID:
String
,
millisEach:
Int
,
numTimes:
Int
)
:
Unit
def
waitUntilTaskCompletes
(
taskID:
String
)
:
Unit
Inherited from
DruidClient
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped