com
.
lucidworks
.
spark
SolrRelation
class
SolrRelation
extends
BaseRelation
with
Serializable
with
TableScan
with
PrunedFilteredScan
with
InsertableRelation
with
Logging
Linear Supertypes
Logging
,
InsertableRelation
,
PrunedFilteredScan
,
TableScan
,
Serializable
,
Serializable
,
BaseRelation
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
SolrRelation
Logging
InsertableRelation
PrunedFilteredScan
TableScan
Serializable
Serializable
BaseRelation
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
SolrRelation
(
parameters:
Map
[
String
,
String
]
,
sqlContext:
SQLContext
)
new
SolrRelation
(
parameters:
Map
[
String
,
String
]
,
sqlContext:
SQLContext
,
dataFrame:
Option
[
DataFrame
]
)
(
implicit
conf:
SolrConf
=
new SolrConf(parameters)
)
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
val
arbitraryParams
:
ModifiableSolrParams
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
baseSchema
:
Option
[
StructType
]
def
buildScan
(
fields:
Array
[
String
]
,
filters:
Array
[
Filter
]
)
:
RDD
[
Row
]
Definition Classes
SolrRelation
→ PrunedFilteredScan
def
buildScan
()
:
RDD
[
Row
]
Definition Classes
SolrRelation
→ TableScan
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
collection
:
String
implicit
val
conf
:
SolrConf
val
dataFrame
:
Option
[
DataFrame
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
extractSearchFields
(
subExpr:
StreamExpression
)
:
Option
[
StreamFields
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findStreamingExpressionFields
(
expr:
StreamExpressionParameter
,
streamOutputFields:
ListBuffer
[
StreamFields
]
,
depth:
Int
)
:
Unit
def
getBaseSchemaFromConfig
(
collection:
String
,
solrFields:
Array
[
String
]
)
:
StructType
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getSQLDialect
(
dialectClassName:
String
)
:
ParserDialect
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
initialQuery
:
SolrQuery
def
insert
(
df:
DataFrame
,
overwrite:
Boolean
)
:
Unit
Definition Classes
SolrRelation
→ InsertableRelation
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
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
needConversion
:
Boolean
Definition Classes
BaseRelation
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
parameters
:
Map
[
String
,
String
]
var
queryFilters
:
Array
[
String
]
val
querySchema
:
StructType
def
requiresExportHandler
(
rq:
String
)
:
Boolean
def
schema
:
StructType
Definition Classes
SolrRelation
→ BaseRelation
def
sizeInBytes
:
Long
Definition Classes
BaseRelation
val
solrFields
:
Array
[
String
]
val
sqlContext
:
SQLContext
Definition Classes
SolrRelation
→ BaseRelation
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toAddFieldMap
(
sf:
StructField
)
:
Map
[
String
,
AnyRef
]
def
toSolrType
(
dataType:
DataType
)
:
String
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unhandledFilters
(
filters:
Array
[
Filter
]
)
:
Array
[
Filter
]
Definition Classes
BaseRelation
val
uniqueKey
:
String
val
unknownParams
:
Set
[
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
Logging
Inherited from
InsertableRelation
Inherited from
PrunedFilteredScan
Inherited from
TableScan
Inherited from
Serializable
Inherited from
Serializable
Inherited from
BaseRelation
Inherited from
AnyRef
Inherited from
Any
Ungrouped