class SolrDataMap[Key, Data <: Identifiable[Data]] extends DataMap[Key, Data]
This is the default data store that is used in the example. Without going too far into the Backend, this is an abstraction for a Solr Collection.
- Key
The type of the key that's being used. Within the example, it's bigglue.examples.GitID for gitID, bigglue.examples.GitRepo for clonedMap, bigglue.examples.GitCommitInfo for commitInfoMap, and bigglue.examples.GitCommitGroups for authorMap.
- Data
The type of the data that's being used. Within the example, it's bigglue.examples.GitID for gitID, bigglue.examples.GitRepo for clonedMap, bigglue.examples.GitCommitInfo for commitInfoMap, and bigglue.examples.GitCommitGroups for authorMap.
- Alphabetic
- By Inheritance
- SolrDataMap
- DataMap
- DataStore
- ConfigBuildsDataStore
- ConfigBuilds
- ConfigChecker
- Upstream
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SolrDataMap(serializer: JsonSerializer[Data], coreName: String, config: Config = ConfigFactory.load())
- serializer
The serializer that needs to be used to serialize the objects into a flat Json file.
- coreName
The name of the core/collection that is being used. If the core/collection doesn't exist, we just create a new core/collection.
- config
The configuration file used for the Solr instance. If not specified, this will just be the default file.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to any2stringadd[SolrDataMap[Key, Data]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (SolrDataMap[Key, Data], B)
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to ArrowAssoc[SolrDataMap[Key, Data]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(data: Data): Unit
- Definition Classes
- DataStore
-
def
all(): Seq[Data]
This gets everything from the data store.
This gets everything from the data store.
- returns
Every document that is stored in the data store.
- Definition Classes
- SolrDataMap → DataStore
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkConfig(conf: PipeConfig): Unit
Check that paths in configuration file relevant to host class are well-formed.
Check that paths in configuration file relevant to host class are well-formed. Default does nothing.
- conf
the config file to check
- Definition Classes
- ConfigChecker
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
configOpt: Option[PipeConfig]
- Definition Classes
- ConfigBuilds
-
def
constructBuilder(config: PipeConfig): DataStoreBuilder
- Definition Classes
- ConfigBuildsDataStore → ConfigBuilds
-
def
contains(key: Key): Boolean
- Definition Classes
- SolrDataMap → DataMap
-
def
displayName(): String
- Definition Classes
- DataStore
-
val
downstreamConnectors: Seq[Connector[Data]]
- Definition Classes
- Upstream
-
def
ensuring(cond: (SolrDataMap[Key, Data]) ⇒ Boolean, msg: ⇒ Any): SolrDataMap[Key, Data]
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to Ensuring[SolrDataMap[Key, Data]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (SolrDataMap[Key, Data]) ⇒ Boolean): SolrDataMap[Key, Data]
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to Ensuring[SolrDataMap[Key, Data]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): SolrDataMap[Key, Data]
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to Ensuring[SolrDataMap[Key, Data]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): SolrDataMap[Key, Data]
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to Ensuring[SolrDataMap[Key, Data]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extract(): Seq[Data]
- Definition Classes
- SolrDataMap → DataStore
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to StringFormat[SolrDataMap[Key, Data]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
get(key: Key): Option[Data]
- Definition Classes
- SolrDataMap → DataMap
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getConfig(config: PipeConfig): PipeConfig
- Definition Classes
- ConfigBuilds
-
def
getOrElse(key: Key, default: Data): Data
- Definition Classes
- DataMap
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
init(conf: PipeConfig): Unit
- Definition Classes
- DataStore
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterator(): Iterator[Data]
This returns an iterator that iterates over the data store.
This returns an iterator that iterates over the data store.
- returns
An iterator that iterates over the data store until all documents have been processed.
- Definition Classes
- SolrDataMap → DataStore
-
var
name: String
- Definition Classes
- DataStore
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
put(key: Key, data: Data): Unit
- Definition Classes
- DataMap
-
def
put(data: Data): Unit
- Definition Classes
- DataStore
-
def
put(data: Seq[Data]): Unit
This puts the data into the data store using put_, and then sends the data down the pipeline if the data store is connected to the pipeline.
-
def
put_(data: Seq[Data]): Unit
Serializes everything, and then creates the key as the object itself.
Serializes everything, and then creates the key as the object itself.
- data
The data to be put into the data store.
- Definition Classes
- SolrDataMap → DataStore
-
def
put_(key: Key, data: Data): Unit
Serializes the data under the key, and then puts that in Solr.
Serializes the data under the key, and then puts that in Solr.
- key
The key in which the data should be filed under.
- data
The data in which we are putting into Solr.
- Definition Classes
- SolrDataMap → DataMap
-
def
registerConnector(connector: Connector[Data]): Unit
- Definition Classes
- Upstream
-
def
remove(keys: Seq[Key]): Unit
- Definition Classes
- SolrDataMap → DataMap
-
def
remove(key: Key): Unit
- Definition Classes
- SolrDataMap → DataMap
-
def
setConfig(pipeConfig: PipeConfig): Unit
- Definition Classes
- ConfigBuilds
-
def
setName(newName: String): Unit
- Definition Classes
- DataStore
-
def
size(): Int
- Definition Classes
- SolrDataMap → DataStore
- val solrBack: SolrBackend[Data]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
terminate(): Unit
- Definition Classes
- DataStore
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transmitDownstream(data: Data): Unit
- Definition Classes
- Upstream
-
def
transmitDownstream(data: Seq[Data]): Unit
- Definition Classes
- Upstream
-
def
transmitDownstreamModified(data: Data): Unit
- Definition Classes
- Upstream
-
def
transmitDownstreamModified(data: Seq[Data]): Unit
- Definition Classes
- Upstream
- val url: 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
→[B](y: B): (SolrDataMap[Key, Data], B)
- Implicit
- This member is added by an implicit conversion from SolrDataMap[Key, Data] to ArrowAssoc[SolrDataMap[Key, Data]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc