object IngestCommand extends LazyLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IngestCommand
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait IngestParams extends OptionalTypeNameParam with OptionalFeatureSpecParam with OptionalForceParam with ConverterConfigParam with OptionalInputFormatParam with DistributedRunParam with DistributedCombineParam
-
case class
Inputs(paths: Seq[String]) extends Product with Serializable
Command inputs
Command inputs
- paths
paths to files for ingest
Value Members
- val LocalBatchSize: SystemProperty
-
def
getDataFormat(params: OptionalInputFormatParam, files: Seq[String]): Option[String]
Determine the input file data format
Determine the input file data format
- params
params
- files
input files
- returns
input format, as a lower-case string
-
def
getSftAndConverter(params: TypeNameParam with FeatureSpecParam with ConverterConfigParam with OptionalForceParam, inputs: Inputs, format: Option[String], ds: Option[_ <: DataStore]): Try[Option[(SimpleFeatureType, Config)]]
Loads and/or infers a SimpleFeatureType and Converter config based on the inputs.
Loads and/or infers a SimpleFeatureType and Converter config based on the inputs. If not possible to load or infer the values, will return a failure. If
interactive
and the user declines to use an inferred result, will return a Success(None). Otherwise will return a Success(Some)- params
params
- inputs
input files
- format
input format
- ds
data store for loading schemas by name
- returns
None if user declines inferred result, otherwise the loaded/inferred result
-
def
getStatInfo(successes: Long, failures: Long, action: String = "Ingested", input: String = ""): String
Gets status as a string
- object IngestCounters
- object Inputs extends Serializable