org.apache.storm.sql.runtime

## Class FieldInfo

- java.lang.Object
- - org.apache.storm.sql.runtime.FieldInfo

- All Implemented Interfaces:
    Serializable

      public class FieldInfo
      extends Object
      implements Serializable

  Describe each column of the field.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FieldInfo(String name, Class<?> type, boolean isPrimary)` FieldInfo Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isPrimary()`
    `String` | `name()`
    `Class<?>` | `type()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FieldInfo

          public FieldInfo(String name,
                           Class<?> type,
                           boolean isPrimary)

      FieldInfo Constructor.

      Parameters:
        `name` - field name
        `type` - filed type
        `isPrimary` - primary or not

  - ### Method Detail

    - #### name

          public String name()

    - #### type

          public Class<?> type()

    - #### isPrimary

          public boolean isPrimary()

Copyright © 2021 The Apache Software Foundation. All rights reserved.