org
.
sparklinedata
.
druid
.
client
DruidCoordinatorClient
class
DruidCoordinatorClient
extends
DruidClient
with
Logging
Linear Supertypes
DruidClient
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DruidCoordinatorClient
DruidClient
Logging
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
DruidCoordinatorClient
(
s:
String
)
new
DruidCoordinatorClient
(
t: (
String
,
Int
)
)
new
DruidCoordinatorClient
(
host:
String
,
port:
Int
)
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
(
...
)
def
dataSourceInfo
(
datasource:
String
)
:
DataSourceSegmentInfo
Annotations
@throws
(
classOf[DruidDataSourceException]
)
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
[
QueryResultRow
]
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
executeQueryAsStream
(
url:
String
,
qry:
QuerySpec
)
:
CloseableIterator
[
QueryResultRow
]
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:
String
=
null
,
reqHeaders:
Map
[
String
,
String
] =
null
)
:
JValue
Attributes
protected
Definition Classes
DruidClient
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getRequest
(
url:
String
)
:
HttpGet
Attributes
protected
Definition Classes
DruidClient
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
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]
)
def
metadataFromHistorical
(
histServer:
HistoricalServerInfo
,
dataSource:
String
,
fullIndex:
Boolean
)
:
DruidDataSource
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:
String
,
reqHeaders:
Map
[
String
,
String
]
)
:
JValue
Attributes
protected
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
performQuery
(
url:
String
,
reqType: (
String
) ⇒
HttpRequestBase
,
qrySpec:
QuerySpec
,
payload:
String
,
reqHeaders:
Map
[
String
,
String
]
)
:
CloseableIterator
[
QueryResultRow
]
Attributes
protected
Definition Classes
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
def
post
(
url:
String
,
payload:
String
,
reqHeaders:
Map
[
String
,
String
] =
null
)
:
JValue
Attributes
protected
Definition Classes
DruidClient
def
postQuery
(
url:
String
,
qrySpec:
QuerySpec
,
payload:
String
,
reqHeaders:
Map
[
String
,
String
] =
null
)
:
CloseableIterator
[
QueryResultRow
]
Attributes
protected
Definition Classes
DruidClient
def
postRequest
(
url:
String
)
:
HttpPost
Attributes
protected
Definition Classes
DruidClient
def
release
(
resp:
CloseableHttpResponse
)
:
Unit
Attributes
protected
Definition Classes
DruidClient
def
serverStatus
:
ServerStatus
Definition Classes
DruidClient
def
serversInfo
:
List
[
HistoricalServerInfo
]
Annotations
@throws
(
classOf[DruidDataSourceException]
)
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
timeBoundary
(
dataSource:
String
)
:
Interval
Definition Classes
DruidCoordinatorClient
→
DruidClient
Annotations
@throws
(
classOf[DruidDataSourceException]
)
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
(
...
)
Inherited from
DruidClient
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped