Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
embulk-input-filename
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Klaus Wölfel
embulk-input-filename
Commits
9d0ad5fe
Commit
9d0ad5fe
authored
Aug 07, 2017
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
write the readme.md
parent
a01f0f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
README.md
README.md
+18
-8
No files found.
README.md
View file @
9d0ad5fe
# Filename input plugin for Embulk
TODO: Write short description here and build.gradle file.
## Overview
*
**Plugin type**
: input
*
**Resume supported**
:
yes
*
**Resume supported**
:
not yet
*
**Cleanup supported**
: yes
*
**Guess supported**
: no
## Configuration
-
**option1**
: description (integer, required)
-
**option2**
: description (string, default:
`"myvalue"`
)
-
**option3**
: description (string, default:
`null`
)
-
**multi_dir**
: description (ArrayList
<String>
, required)
-
**mulit_tag**
: description (ArrayList
<String>
, default:
`[]`
)
-
**order_by_modified_time**
: description (int, default:
`0`
)
-
**order_by_creation_time**
: description (int, default:
`0`
)
-
**chunk_size**
: description (int, default:
`10485760(10M)`
)
## Example
```
yaml
in
:
type
:
filename
option1
:
example1
option2
:
example2
type
:
filename
mulit_dir
:
[
"
../sample/sample_"
,
"
../example/example_"
]
multi_tag
:
[
"
tag1"
,
"
tag2"
]
order_by_modified_time
:
1
chunk_size
:
1000
```
For the order_by_modified_time option, its default value is 0, the files in each directory are uploaded in alphabetical order.
If it equals 1, the files in each directory will be uploaded in the order of their last modified time.
if it equals neither 1 or 0, the files will be uploaded in descend order of their last modified time.
The order_by_modified_time is the same like order_by_modified_time. Those two option could not be set at same time since the you have to choose
only one order to upload the files. And the order_by_creation_time is useless in Unix system as the unix system does not record the creation
time of the files. Use the order_by_creation_time sparingly.
## Build
java 1.8 is required.
```
$ ./gradlew gem # -t to watch change of files and rebuild continuously
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment