org
.
sparklinedata
.
druid
SelectSpecWithIntervals
case class
SelectSpecWithIntervals
(
queryType:
String
,
dataSource:
String
,
dimensions:
List
[
String
]
,
metrics:
List
[
String
]
,
filter:
Option
[
FilterSpec
]
,
pagingSpec:
PagingSpec
,
intervals:
List
[
String
] =
immutable.this.Nil
,
descending:
Boolean
=
false
,
granularity:
String
=
"all"
,
context:
Option
[
QuerySpecContext
]
)
extends
SelectSpec
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
SelectSpec
,
QuerySpec
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
SelectSpecWithIntervals
Serializable
Serializable
Product
Equals
SelectSpec
QuerySpec
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
SelectSpecWithIntervals
(
dataSource:
String
,
dimensions:
List
[
String
]
,
metrics:
List
[
String
]
,
filter:
Option
[
FilterSpec
]
,
pagingSpec:
PagingSpec
,
intervals:
List
[
String
] =
List()
,
descending:
Boolean
=
false
,
granularity:
String
=
"all"
,
context:
Option
[
QuerySpecContext
]
)
new
SelectSpecWithIntervals
(
queryType:
String
,
dataSource:
String
,
dimensions:
List
[
String
]
,
metrics:
List
[
String
]
,
filter:
Option
[
FilterSpec
]
,
pagingSpec:
PagingSpec
,
intervals:
List
[
String
] =
immutable.this.Nil
,
descending:
Boolean
=
false
,
granularity:
String
=
"all"
,
context:
Option
[
QuerySpecContext
]
)
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
apply
(
useSmile:
Boolean
,
is:
InputStream
,
druidQuerySvrConn:
DruidClient
,
onDone: ⇒
Unit
=
()
,
fromList:
Boolean
=
false
)
:
CloseableIterator
[
ResultRow
]
Definition Classes
SelectSpec
→
QuerySpec
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
context
:
Option
[
QuerySpecContext
]
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
val
dataSource
:
String
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
val
descending
:
Boolean
Definition Classes
SelectSpecWithIntervals
→
SelectSpec
def
dimensionSpecs
:
List
[
DimensionSpec
]
Definition Classes
SelectSpec
→
QuerySpec
val
dimensions
:
List
[
String
]
Definition Classes
SelectSpecWithIntervals
→
SelectSpec
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
executeQuery
(
queryClient:
DruidQueryServerClient
)
:
CloseableIterator
[
ResultRow
]
Definition Classes
QuerySpec
val
filter
:
Option
[
FilterSpec
]
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
granularity
:
String
def
intervalList
:
List
[
String
]
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
val
intervals
:
List
[
String
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mapSparkColNameToDruidColName
(
druidRelationInfo:
DruidRelationInfo
)
:
Map
[
String
,
String
]
Definition Classes
SelectSpec
→
QuerySpec
val
metrics
:
List
[
String
]
Definition Classes
SelectSpecWithIntervals
→
SelectSpec
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
pagingSpec
:
PagingSpec
val
queryType
:
String
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
def
schemaFromQuerySpec
(
dInfo:
DruidRelationInfo
)
:
StructType
Definition Classes
SelectSpec
→
QuerySpec
def
setFilter
(
fSpec:
FilterSpec
)
:
QuerySpec
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
def
setIntervals
(
ins:
List
[
Interval
]
)
:
SelectSpecWithIntervals
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
def
setSegIntervals
(
segIns:
List
[(
DruidSegmentInfo
,
Interval
)]
)
:
QuerySpec
Definition Classes
SelectSpecWithIntervals
→
QuerySpec
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
withPagingIdentifier
(
ps:
Map
[
String
,
Int
]
)
:
SelectSpecWithIntervals
Definition Classes
SelectSpecWithIntervals
→
SelectSpec
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
SelectSpec
Inherited from
QuerySpec
Inherited from
AnyRef
Inherited from
Any
Ungrouped