public abstract class DirectFileOutputDescription extends Object implements ExporterDescription
public
abstract
Constructor and Description |
---|
DirectFileOutputDescription() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getBasePath()
Returns the base path of target output.
|
List<String> |
getDeletePatterns()
Returns the resource path pattern to delete before output.
|
abstract Class<? extends DataFormat<?>> |
getFormat()
Returns an implementation of
DataFormat class. |
List<String> |
getOrder()
Returns record order in each output file.
|
abstract String |
getResourcePattern()
Returns the resource path pattern of target output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModelType
public abstract String getBasePath()
inputs
or output
must not contain this path.
This path can include variables as ${<variable-name>}
.public abstract String getResourcePattern()
the base path
.
The pattern can include following characters:
"\", "$", "*", "?", "#", "|", "{", "}", "[", "]"
${variable-name}
(variables)
{<property-name>}
(placeholders)
snake_case
[<lower-bound>..<upper-bound>]
(random-number)
0 <= lower-bound < upper-bound
*
(wildcard)
getOrder()
must be returns empty list.
${<variable-name>}
,
but replacement can only contains normal characters.public List<String> getOrder()
+<property-name>
or -<property-name>
,
and each property name should be represented in snake_case
.public List<String> getDeletePatterns()
the base path
.
Each pattern can include following characters:
"\", "$", "*", "?", "#", "|", "{", "}", "[", "]"
${variable-name}
(variables)
*
(wildcard character)
**
(wildcard segment)
**.csv
is NOT accepted (**/*.csv
instead)
public abstract Class<? extends DataFormat<?>> getFormat()
DataFormat
class.DataFormat
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.