org.apache.sqoop.lib

## クラス DelimiterSet

- java.lang.Object
- - org.apache.sqoop.lib.DelimiterSet

- すべての実装されたインタフェース:
    java.lang.Cloneable
  直系の既知のサブクラス:
    DelimiterSet

      public class DelimiterSet
      extends java.lang.Object
      implements java.lang.Cloneable

  Encapsulates a set of delimiters used to encode a record.

- - ### フィールドのサマリー

    フィールド
    修飾子とタイプ | フィールドと説明
    --- | ---
    `static java.lang.String` | `INPUT_ENCLOSE_REQUIRED_KEY`
    `static java.lang.String` | `INPUT_ENCLOSED_BY_KEY`
    `static java.lang.String` | `INPUT_ESCAPED_BY_KEY`
    `static java.lang.String` | `INPUT_FIELD_DELIM_KEY` Create the input variations for export instead of overloading them.
    `static java.lang.String` | `INPUT_RECORD_DELIM_KEY`
    `static char` | `NULL_CHAR`
    `static java.lang.String` | `OUTPUT_ENCLOSE_REQUIRED_KEY`
    `static java.lang.String` | `OUTPUT_ENCLOSED_BY_KEY`
    `static java.lang.String` | `OUTPUT_ESCAPED_BY_KEY`
    `static java.lang.String` | `OUTPUT_FIELD_DELIM_KEY`
    `static java.lang.String` | `OUTPUT_RECORD_DELIM_KEY`

  - ### コンストラクタのサマリー

    コンストラクタ
    コンストラクタと説明
    `DelimiterSet()` Create a delimiter set with the default delimiters (comma for fields, newline for records).
    `DelimiterSet(char field, char record, char enclose, char escape, boolean isEncloseRequired)` Create a delimiter set with the specified delimiters.

  - ### メソッドのサマリー

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.Object` | `clone()`
    `DelimiterSet` | `copy()` Identical to clone() but does not throw spurious exceptions.
    `boolean` | `equals(java.lang.Object other)`
    `java.lang.String` | `formatConstructor()` Format this set of delimiters as a call to the constructor for this object, that would generate identical delimiters.
    `char` | `getEnclosedBy()`
    `char` | `getEscapedBy()`
    `char` | `getFieldsTerminatedBy()`
    `char` | `getLinesTerminatedBy()`
    `int` | `hashCode()`
    `boolean` | `isEncloseRequired()`
    `void` | `setEnclosedBy(char e)` Sets the enclosed-by character.
    `void` | `setEncloseRequired(boolean required)` Set whether the enclosed-by character must be applied to all fields, or only fields with embedded delimiters.
    `void` | `setEscapedBy(char e)` Sets the escaped-by character.
    `void` | `setFieldsTerminatedBy(char f)` Sets the fields-terminated-by character.
    `void` | `setLinesTerminatedBy(char r)` Sets the end-of-record lines-terminated-by character.
    `java.lang.String` | `toString()`

    - ### クラスから継承されたメソッド java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### フィールドの詳細

    - #### NULL_CHAR

          public static final char NULL_CHAR

      関連項目:
        定数フィールド値

    - #### OUTPUT_FIELD_DELIM_KEY

          public static final java.lang.String OUTPUT_FIELD_DELIM_KEY

      関連項目:
        定数フィールド値

    - #### OUTPUT_RECORD_DELIM_KEY

          public static final java.lang.String OUTPUT_RECORD_DELIM_KEY

      関連項目:
        定数フィールド値

    - #### OUTPUT_ENCLOSED_BY_KEY

          public static final java.lang.String OUTPUT_ENCLOSED_BY_KEY

      関連項目:
        定数フィールド値

    - #### OUTPUT_ESCAPED_BY_KEY

          public static final java.lang.String OUTPUT_ESCAPED_BY_KEY

      関連項目:
        定数フィールド値

    - #### OUTPUT_ENCLOSE_REQUIRED_KEY

          public static final java.lang.String OUTPUT_ENCLOSE_REQUIRED_KEY

      関連項目:
        定数フィールド値

    - #### INPUT_FIELD_DELIM_KEY

          public static final java.lang.String INPUT_FIELD_DELIM_KEY

      Create the input variations for export instead of overloading them.
      関連項目:
        定数フィールド値

    - #### INPUT_RECORD_DELIM_KEY

          public static final java.lang.String INPUT_RECORD_DELIM_KEY

      関連項目:
        定数フィールド値

    - #### INPUT_ENCLOSED_BY_KEY

          public static final java.lang.String INPUT_ENCLOSED_BY_KEY

      関連項目:
        定数フィールド値

    - #### INPUT_ESCAPED_BY_KEY

          public static final java.lang.String INPUT_ESCAPED_BY_KEY

      関連項目:
        定数フィールド値

    - #### INPUT_ENCLOSE_REQUIRED_KEY

          public static final java.lang.String INPUT_ENCLOSE_REQUIRED_KEY

      関連項目:
        定数フィールド値

  - ### コンストラクタの詳細

    - #### DelimiterSet

          public DelimiterSet()

      Create a delimiter set with the default delimiters (comma for fields, newline for records).

    - #### DelimiterSet

          public DelimiterSet(char field,
                      char record,
                      char enclose,
                      char escape,
                      boolean isEncloseRequired)

      Create a delimiter set with the specified delimiters.
      パラメータ:
        `field` - the fields-terminated-by delimiter
        `record` - the lines-terminated-by delimiter
        `enclose` - the enclosed-by character
        `escape` - the escaped-by character
        `isEncloseRequired` - If true, enclosed-by is applied to all fields. If false, only applied to fields that embed delimiters.

  - ### メソッドの詳細

    - #### copy

          public DelimiterSet copy()

      Identical to clone() but does not throw spurious exceptions.
      戻り値:
        a new copy of this same set of delimiters.

    - #### setFieldsTerminatedBy

          public void setFieldsTerminatedBy(char f)

      Sets the fields-terminated-by character.

    - #### getFieldsTerminatedBy

          public char getFieldsTerminatedBy()

      戻り値:
        the fields-terminated-by character.

    - #### setLinesTerminatedBy

          public void setLinesTerminatedBy(char r)

      Sets the end-of-record lines-terminated-by character.

    - #### getLinesTerminatedBy

          public char getLinesTerminatedBy()

      戻り値:
        the end-of-record (lines-terminated-by) character.

    - #### setEnclosedBy

          public void setEnclosedBy(char e)

      Sets the enclosed-by character.
      パラメータ:
        `e` - the enclosed-by character, or '\000' for no enclosing character.

    - #### getEnclosedBy

          public char getEnclosedBy()

      戻り値:
        the enclosed-by character, or '\000' for none.

    - #### setEscapedBy

          public void setEscapedBy(char e)

      Sets the escaped-by character.
      パラメータ:
        `e` - the escaped-by character, or '\000' for no escape character.

    - #### getEscapedBy

          public char getEscapedBy()

      戻り値:
        the escaped-by character, or '\000' for none.

    - #### setEncloseRequired

          public void setEncloseRequired(boolean required)

      Set whether the enclosed-by character must be applied to all fields, or only fields with embedded delimiters.

    - #### isEncloseRequired

          public boolean isEncloseRequired()

      戻り値:
        true if the enclosed-by character must be applied to all fields, or false if it's only used for fields with embedded delimiters.

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `java.lang.Object`

    - #### formatConstructor

          public java.lang.String formatConstructor()

      Format this set of delimiters as a call to the constructor for this object, that would generate identical delimiters.
      戻り値:
        a String that can be embedded in generated code that provides this set of delimiters.

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object other)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`

    - #### clone

          public java.lang.Object clone()
                                 throws java.lang.CloneNotSupportedException

      オーバーライド:
        `clone` クラス内 `java.lang.Object`
      例外:
        `java.lang.CloneNotSupportedException`

Copyright © 2015 The Apache Software Foundation