列挙 ContentType

java.lang.Object
java.lang.Enum<ContentType>
org.codelibs.elasticsearch.df.content.ContentType
すべての実装されたインタフェース:
Serializable, Comparable<ContentType>, java.lang.constant.Constable

public enum ContentType
extends Enum<ContentType>
ContentType is a factory interface with 4 enumerated values
  • 列挙型定数の詳細

  • メソッドの詳細

    • values

      public static ContentType[] values()
      この列挙型の定数を含む配列を宣言されている順序で 返します。
      戻り値:
      この列挙型の定数を含む、宣言されている順序での配列
    • valueOf

      public static ContentType valueOf​(String name)
      指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - この列挙型に、指定した名前の定数がない場合
      NullPointerException - 引数がnullの場合
    • index

      public int index()
    • contentType

      public abstract String contentType()
    • dataContent

      public abstract DataContent dataContent​(org.elasticsearch.client.Client client, org.elasticsearch.rest.RestRequest request)
      Create a DataContent object associated with this ContentType to do the dump operations.
      パラメータ:
      client -
      request -
      戻り値:
    • fileName

      public abstract String fileName​(org.elasticsearch.rest.RestRequest request)