com
.
lucidworks
.
spark
.
util
SolrRelationUtil
Related Doc:
package util
object
SolrRelationUtil
extends
LazyLogging
Linear Supertypes
LazyLogging
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SolrRelationUtil
LazyLogging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
applyDefaultFields
(
baseSchema:
StructType
,
solrQuery:
SolrQuery
,
flattenMultivalued:
Boolean
)
:
Unit
def
applyFilter
(
filter:
Filter
,
solrQuery:
SolrQuery
,
baseSchema:
StructType
)
:
Unit
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
attributeToFieldName
(
attr:
String
,
baseSchema:
StructType
)
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
convertToISO
(
ts:
String
)
:
String
def
deriveQuerySchema
(
fields:
Array
[
QueryField
]
,
schema:
StructType
)
:
StructType
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
fq
(
filter:
Filter
,
baseSchema:
StructType
)
:
String
def
getAllFilterValues
(
filter:
Filter
,
baseSchema:
StructType
,
values:
ListBuffer
[
String
]
)
:
List
[
String
]
def
getBaseSchema
(
fields:
Set
[
String
]
,
zkHost:
String
,
collection:
String
,
escapeFields:
Boolean
,
flattenMultivalued:
Option
[
Boolean
]
,
skipNonDocValueFields:
Boolean
,
dynamicExtensions:
Set
[
String
]
)
:
StructType
def
getBaseSchema
(
zkHost:
String
,
collection:
String
,
escapeFields:
Boolean
,
flattenMultivalued:
Option
[
Boolean
]
,
skipNonDocValueFields:
Boolean
,
dynamicExtensions:
Set
[
String
]
)
:
StructType
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getFilterValue
(
attr:
String
,
value:
String
,
baseSchema:
StructType
)
:
String
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isValidDynamicFieldName
(
fieldName:
String
,
dynamicExtensionSuffixes:
Set
[
String
]
)
:
Boolean
lazy val
logger
:
Logger
Attributes
protected
Definition Classes
LazyLogging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
parseCommaSeparatedValuesToList
(
filters:
String
)
:
List
[
String
]
def
parseQueryFields
(
solrFields:
Array
[
String
]
)
:
Array
[
QueryField
]
def
processFieldValue
(
fieldValue:
Any
,
fieldType:
DataType
,
multiValued:
Boolean
)
:
Any
def
processMultipleFieldValues
(
fieldValues:
Collection
[
AnyRef
]
,
fieldType:
DataType
)
:
Array
[
AnyRef
]
def
setAliases
(
fields:
Array
[
String
]
,
solrQuery:
SolrQuery
,
schema:
StructType
)
:
SolrQuery
def
setAutoSoftCommit
(
zkHost:
String
,
collection:
String
,
softAutoCommitMs:
Int
)
:
Unit
def
solrDocToRows
[
T
]
(
schema:
StructType
,
docs:
RDD
[
T
]
)
:
RDD
[
Row
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toRows
(
schema:
StructType
,
docs:
RDD
[_]
)
:
RDD
[
Row
]
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
LazyLogging
Inherited from
AnyRef
Inherited from
Any
Ungrouped