com.lucidworks.spark.util

SolrQuerySupport

object SolrQuerySupport extends Logging

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SolrQuerySupport
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val SOLR_DATA_TYPES: Map[String, DataType]

  7. def addDefaultSort(solrQuery: SolrQuery, uniqueKey: String): Unit

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def constructFieldInfoMap(fieldsInfoList: List[Any]): Map[String, Any]

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def fetchFieldSchemaInfoFromSolr(fieldsUrl: String): Map[String, Any]

  14. def fillPivotFieldValues(rawValue: String, row: Array[Any], schema: StructType, pivotPrefix: String): Unit

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def getFieldDefinitionsFromSchema(solrUrl: String, fieldNames: Set[String]): Map[String, Any]

  18. def getFieldTypeToClassMap(solrUrl: String): Map[String, String]

  19. def getFieldTypes(fields: Set[String], solrUrl: String): Map[String, SolrFieldMeta]

  20. def getFieldTypes(fields: Set[String], solrBaseUrl: String, collection: String): Map[String, SolrFieldMeta]

  21. def getFieldsFromLuke(solrUrl: String): Set[String]

  22. def getNumDocsFromSolr(collection: String, zkHost: String, query: Option[SolrQuery]): Long

  23. def getPivotFieldRange(schema: StructType, pivotPrefix: String): Array[Int]

  24. def getPivotSchema(fieldName: String, maxCols: Int, fieldPrefix: String, otherName: String, collection: String, schema: StructType, uniqueKey: String, zkHost: String): List[StructField]

  25. def getUniqueKey(zkHost: String, collection: String): String

  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  29. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  32. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  34. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  35. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  36. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  37. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  38. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  44. def queryAndStreamResponsePost(params: SolrParams, callback: StreamingResponseCallback, cloudClient: SolrClient): QueryResponse

  45. def querySolr(solrClient: SolrClient, solrQuery: SolrQuery, startIndex: Int, cursorMark: String, callback: StreamingResponseCallback): Option[QueryResponse]

  46. def querySolr(solrClient: SolrClient, solrQuery: SolrQuery, startIndex: Int, cursorMark: String): Option[QueryResponse]

  47. def setQueryDefaultsForShards(solrQuery: SolrQuery, uniqueKey: String): Unit

  48. def setQueryDefaultsForTV(solrQuery: SolrQuery, field: String, uniqueKey: String): Unit

  49. def splitShard(sc: SparkContext, query: SolrQuery, shards: List[String], splitFieldName: String, splitsPerShard: Int, collection: String): RDD[ShardSplit[_]]

  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toPivotSchema(baseSchema: StructType, pivotFields: Array[PivotField], collection: String, schema: StructType, uniqueKey: String, zkHost: String): StructType

  52. def toQuery(queryString: String): SolrQuery

  53. def toString(): String

    Definition Classes
    AnyRef → Any
  54. def validateExportHandlerQuery(solrServer: SolrClient, solrQuery: SolrQuery): Unit

  55. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. def withPivotFields(solrData: DataFrame, pivotFields: Array[PivotField], solrRDD: SolrRDD, escapeFieldNames: Boolean): DataFrame

    Allows you to pivot a categorical field into multiple columns that can be aggregated into counts, e.

    Allows you to pivot a categorical field into multiple columns that can be aggregated into counts, e.g. a field holding HTTP method (http_verb=GET) can be converted into: http_method_get=1, which is a common task when creating aggregations.

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped