org.apache.solr.morphlines.cell
Class SolrCellBuilder
java.lang.Object
org.apache.solr.morphlines.cell.SolrCellBuilder
- All Implemented Interfaces:
- org.kitesdk.morphline.api.CommandBuilder
public final class SolrCellBuilder
- extends Object
- implements org.kitesdk.morphline.api.CommandBuilder
Command that pipes the first attachment of a record into one of the given Tika parsers, then maps
the Tika output back to a record using SolrCell.
The Tika parser is chosen from the configurable list of parsers, depending on the MIME type
specified in the input record. Typically, this requires an upstream DetectMimeTypeBuilder
in a prior command.
|
Method Summary |
org.kitesdk.morphline.api.Command |
build(com.typesafe.config.Config config,
org.kitesdk.morphline.api.Command parent,
org.kitesdk.morphline.api.Command child,
org.kitesdk.morphline.api.MorphlineContext context)
|
Collection<String> |
getNames()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrCellBuilder
public SolrCellBuilder()
getNames
public Collection<String> getNames()
- Specified by:
getNames in interface org.kitesdk.morphline.api.CommandBuilder
build
public org.kitesdk.morphline.api.Command build(com.typesafe.config.Config config,
org.kitesdk.morphline.api.Command parent,
org.kitesdk.morphline.api.Command child,
org.kitesdk.morphline.api.MorphlineContext context)
- Specified by:
build in interface org.kitesdk.morphline.api.CommandBuilder
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.