org.kitesdk.morphline.api
Interface CommandBuilder

All Known Implementing Classes:
AddCurrentTimeBuilder, AddLocalHostBuilder, AddValuesBuilder, AddValuesIfAbsentBuilder, CallParentPipeBuilder, ContainsBuilder, ConvertHTMLBuilder, ConvertTimestampBuilder, DecodeBase64Builder, DecompressBuilder, DetectMimeTypeBuilder, DownloadHdfsFileBuilder, DropRecordBuilder, EqualsBuilder, ExtractAvroPathsBuilder, ExtractAvroTreeBuilder, ExtractJsonPathsBuilder, ExtractURIComponentBuilder, ExtractURIComponentsBuilder, ExtractURIQueryParametersBuilder, FindReplaceBuilder, GenerateSolrSequenceKeyBuilder, GenerateUUIDBuilder, GeoIPBuilder, GrokBuilder, IfThenElseBuilder, JavaBuilder, LoadSolrBuilder, LogDebugBuilder, LogErrorBuilder, LogInfoBuilder, LogTraceBuilder, LogWarnBuilder, NotBuilder, PipeBuilder, ReadAvroBuilder, ReadAvroContainerBuilder, ReadAvroParquetFileBuilder, ReadClobBuilder, ReadCSVBuilder, ReadJsonBuilder, ReadJsonTestTweetsBuilder, ReadLineBuilder, ReadMultiLineBuilder, ReadRCFileBuilder, ReadSequenceFileBuilder, RegisterJVMMetricsBuilder, SanitizeUnknownSolrFieldsBuilder, SeparateAttachmentsBuilder, SetValuesBuilder, SolrCellBuilder, SplitBuilder, SplitKeyValueBuilder, StartReportingMetricsToCSVBuilder, StartReportingMetricsToHTTPBuilder, StartReportingMetricsToJMXBuilder, StartReportingMetricsToSLF4JBuilder, ToAvroBuilder, ToByteArrayBuilder, TokenizeTextBuilder, ToStringBuilder, TranslateBuilder, TryRulesBuilder, UnpackBuilder, UserAgentBuilder, WriteAvroToByteArrayBuilder, XQueryBuilder, XSLTBuilder

public interface CommandBuilder

Interface to create instances of morphline commands.


Method Summary
 Command build(com.typesafe.config.Config config, Command parent, Command child, MorphlineContext context)
          Creates and returns a command rooted at the given morphline JSON config.
 Collection<String> getNames()
          Returns the names with which this command can be invoked.
 

Method Detail

getNames

Collection<String> getNames()
Returns the names with which this command can be invoked. The returned set can contain synonyms to enable backwards compatible name changes.


build

Command build(com.typesafe.config.Config config,
              Command parent,
              Command child,
              MorphlineContext context)
Creates and returns a command rooted at the given morphline JSON config. The command will feed records into child. The command will have parent as it's parent. Additional parameters can be passed via the morphline context.



Copyright © 2013–2014. All rights reserved.