类 FieldMeta

    • 构造器详细资料

      • FieldMeta

        public FieldMeta()
      • FieldMeta

        public FieldMeta​(String filedName,
                         String columnName,
                         String defaultValue,
                         String nativeType,
                         int type,
                         boolean nullable,
                         boolean keyword,
                         int length,
                         int precision,
                         int scale)
        参数:
        filedName -
        columnName -
        defaultValue -
        type -
        nullable -
        keyword -
        length -
        precision -
        scale -
    • 方法详细资料

      • isAutoIncrement

        public boolean isAutoIncrement()
        返回:
        the autoIncrement
      • setAutoIncrement

        public void setAutoIncrement​(boolean autoIncrement)
        参数:
        autoIncrement - the autoIncrement to set
      • getType

        public int getType()
        返回:
        the type
      • setType

        public void setType​(int type)
        参数:
        type - the type to set
      • getFieldName

        public String getFieldName()
        返回:
        the fieldName
      • setFieldName

        public void setFieldName​(String fieldName)
        参数:
        fieldName - the fieldName to set
      • getColumnName

        public String getColumnName()
        返回:
        the columnName
      • setColumnName

        public void setColumnName​(String columnName)
        参数:
        columnName - the columnName to set
      • getColumnOptName

        public String getColumnOptName()
        返回:
      • isNullable

        public boolean isNullable()
        返回:
        the nullable
      • setNullable

        public void setNullable​(boolean nullable)
        参数:
        nullable - the nullable to set
      • getLength

        public int getLength()
        返回:
        the length
      • setLength

        public void setLength​(int length)
        参数:
        length - the length to set
      • getPrecision

        public int getPrecision()
        返回:
        the precision
      • setPrecision

        public void setPrecision​(int precision)
        参数:
        precision - the precision to set
      • getScale

        public int getScale()
        返回:
        the scale
      • setScale

        public void setScale​(int scale)
        参数:
        scale - the scale to set
      • isPK

        public boolean isPK()
      • setPK

        public void setPK​(boolean isPK)
      • getDefaultValue

        public String getDefaultValue()
        返回:
        the defaultValue
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
        参数:
        defaultValue - the defaultValue to set
      • isKeyword

        public boolean isKeyword()
        返回:
        the keyword
      • setKeyword

        public void setKeyword​(boolean keyword)
        参数:
        keyword - the keyword to set
      • getFieldType

        public String getFieldType()
      • setFieldType

        public void setFieldType​(String fieldType)
      • isPartitionKey

        public boolean isPartitionKey()
        返回:
        the partitionKey
      • setPartitionKey

        public void setPartitionKey​(boolean partitionKey)
        参数:
        partitionKey - the partitionKey to set
      • getNativeType

        public String getNativeType()
      • setNativeType

        public void setNativeType​(String nativeType)