Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
embulk-parser-none-bin
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-parser-none-bin
Commits
6c4d4c56
Commit
6c4d4c56
authored
Mar 23, 2017
by
Klaus Wölfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename to none-bin
parent
fe929a1c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
12 deletions
+17
-12
README.md
README.md
+3
-3
build.gradle
build.gradle
+4
-4
lib/embulk/parser/none-bin.rb
lib/embulk/parser/none-bin.rb
+1
-1
settings.gradle
settings.gradle
+1
-1
src/main/java/org/embulk/parser/NoneBinParserPlugin.java
src/main/java/org/embulk/parser/NoneBinParserPlugin.java
+3
-3
src/test/java/org/embulk/parser/TestNoneBinParserPlugin.java
src/test/java/org/embulk/parser/TestNoneBinParserPlugin.java
+5
-0
No files found.
README.md
View file @
6c4d4c56
# None parser plugin for Embulk
# None parser plugin for Embulk
Embulk parser plugin not to parse at all
Embulk parser plugin not to parse at all
for binary files
## Install
## Install
```
```
$ embulk gem install embulk-parser-none
$ embulk gem install embulk-parser-none
-bin
```
```
## Overview
## Overview
...
@@ -24,7 +24,7 @@ in:
...
@@ -24,7 +24,7 @@ in:
type
:
file
type
:
file
path_prefix
:
example.txt
path_prefix
:
example.txt
parser
:
parser
:
type
:
none
type
:
none
-bin
column_name
:
payload
column_name
:
payload
```
```
...
...
build.gradle
View file @
6c4d4c56
...
@@ -56,12 +56,12 @@ task gemspec {
...
@@ -56,12 +56,12 @@ task gemspec {
Gem::Specification.new do |spec|
Gem::Specification.new do |spec|
spec.name = "${project.name}"
spec.name = "${project.name}"
spec.version = "${project.version}"
spec.version = "${project.version}"
spec.authors = ["
Naotoshi Seo
"]
spec.authors = ["
Klaus Woelfel
"]
spec.summary = %[None parser plugin for Embulk]
spec.summary = %[None
bin
parser plugin for Embulk]
spec.description = %[Embulk parser plugin not to parse at all.]
spec.description = %[Embulk parser plugin not to parse at all.]
spec.email = ["
sonots@gmail
.com"]
spec.email = ["
klaus@nexedi
.com"]
spec.licenses = ["MIT"]
spec.licenses = ["MIT"]
spec.homepage = "https://
github.com/sonots/embulk-parser-none
"
spec.homepage = "https://
lab.nexedi.com/klaus/embulk-parser-none-bin
"
spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"]
spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"]
spec.test_files = spec.files.grep(%r"^(test|spec)/")
spec.test_files = spec.files.grep(%r"^(test|spec)/")
...
...
lib/embulk/parser/none.rb
→
lib/embulk/parser/none
-bin
.rb
View file @
6c4d4c56
Embulk
::
JavaPlugin
.
register_parser
(
Embulk
::
JavaPlugin
.
register_parser
(
"none
"
,
"org.embulk.parser.None
ParserPlugin"
,
"none
-bin"
,
"org.embulk.parser.NoneBin
ParserPlugin"
,
File
.
expand_path
(
'../../../../classpath'
,
__FILE__
))
File
.
expand_path
(
'../../../../classpath'
,
__FILE__
))
settings.gradle
View file @
6c4d4c56
rootProject
.
name
=
'embulk-parser-none'
rootProject
.
name
=
'embulk-parser-none
-bin
'
src/main/java/org/embulk/parser/NoneParserPlugin.java
→
src/main/java/org/embulk/parser/None
Bin
ParserPlugin.java
View file @
6c4d4c56
...
@@ -26,7 +26,7 @@ import static org.embulk.spi.type.Types.STRING;
...
@@ -26,7 +26,7 @@ import static org.embulk.spi.type.Types.STRING;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
public
class
NoneParserPlugin
public
class
None
Bin
ParserPlugin
implements
ParserPlugin
implements
ParserPlugin
{
{
static
int
MAX_NAME_LENGTH
=
255
;
static
int
MAX_NAME_LENGTH
=
255
;
...
@@ -41,9 +41,9 @@ public class NoneParserPlugin
...
@@ -41,9 +41,9 @@ public class NoneParserPlugin
private
final
Logger
log
;
private
final
Logger
log
;
public
NoneParserPlugin
()
public
None
Bin
ParserPlugin
()
{
{
this
.
log
=
Exec
.
getLogger
(
NoneParserPlugin
.
class
);
this
.
log
=
Exec
.
getLogger
(
None
Bin
ParserPlugin
.
class
);
}
}
@Override
@Override
...
...
src/test/java/org/embulk/parser/TestNoneParserPlugin.java
→
src/test/java/org/embulk/parser/TestNone
Bin
ParserPlugin.java
View file @
6c4d4c56
package
org.embulk.parser
;
package
org.embulk.parser
;
public
class
TestNoneParserPlugin
public
class
TestNone
Bin
ParserPlugin
{
{
}
}
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