public interface Configuration
| Modifier and Type | Interface and Description |
|---|---|
static class |
Configuration.Default |
static class |
Configuration.Overridden |
| Modifier and Type | Field and Description |
|---|---|
static Configuration |
DEFAULT |
static boolean |
DEFAULT_LEGACY_STYLE_QUOTING
TODO: Our intention is to flip this to false (which means to comply with RFC4180) at some point
because of how it better complies with common expectancy of behavior.
|
static int |
KB |
static int |
MB |
| Modifier and Type | Method and Description |
|---|---|
int |
bufferSize()
Data buffer size.
|
boolean |
emptyQuotedStringsAsNull() |
default boolean |
legacyStyleQuoting()
Adds a default implementation returning
DEFAULT_LEGACY_STYLE_QUOTING, this to not requiring
any change to other classes using this interface. |
boolean |
multilineFields()
Whether or not fields are allowed to have newline characters in them, i.e.
|
char |
quotationCharacter()
Character to regard as quotes.
|
boolean |
trimStrings()
Whether or not strings should be trimmed for whitespaces.
|
static final boolean DEFAULT_LEGACY_STYLE_QUOTING
static final int KB
static final int MB
static final Configuration DEFAULT
char quotationCharacter()
int bufferSize()
boolean multilineFields()
boolean trimStrings()
boolean emptyQuotedStringsAsNull()
true for treating empty strings, i.e. "" as null, instead of an empty string.default boolean legacyStyleQuoting()
DEFAULT_LEGACY_STYLE_QUOTING, this to not requiring
any change to other classes using this interface.\" (see quotationCharacter())
as an inner quote. Reason why this is configurable is that this interpretation conflicts with
"standard" RFC for CSV parsing, see https://tools.ietf.org/html/rfc4180. This also makes it impossible
to enter some combinations of characters, e.g. """abc\""", when expecting "abc\".Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.