Class ClickHouseColumn

    • Method Detail

      • setColumnIndex

        protected void setColumnIndex​(int index,
                                      int count)
        Sets zero-based column index and column count.
        Parameters:
        index - zero-based column index, negative number is treated as zero
        count - column count, should be always greater than one
      • isAggregateFunction

        public boolean isAggregateFunction()
      • isArray

        public boolean isArray()
      • isEnum

        public boolean isEnum()
      • isFixedLength

        public boolean isFixedLength()
      • isMap

        public boolean isMap()
      • isNested

        public boolean isNested()
      • isTuple

        public boolean isTuple()
      • isNestedType

        public boolean isNestedType()
      • getArrayNestedLevel

        public int getArrayNestedLevel()
      • getObjectClass

        public Class<?> getObjectClass()
      • getPrimitiveClass

        public Class<?> getPrimitiveClass()
      • getEstimatedLength

        public int getEstimatedLength()
      • getColumnCount

        public int getColumnCount()
      • getColumnIndex

        public int getColumnIndex()
      • getColumnName

        public String getColumnName()
      • getOriginalTypeName

        public String getOriginalTypeName()
      • isFirstColumn

        public boolean isFirstColumn()
      • isLastColumn

        public boolean isLastColumn()
      • isNullable

        public boolean isNullable()
      • getTimeZone

        public TimeZone getTimeZone()
      • getTimeZoneOrDefault

        public TimeZone getTimeZoneOrDefault​(TimeZone defaultTz)
      • getPrecision

        public int getPrecision()
      • getScale

        public int getScale()
      • hasNestedColumn

        public boolean hasNestedColumn()
      • getParameters

        public List<String> getParameters()
      • getFunction

        public String getFunction()
        Gets function when column type is ClickHouseDataType.AggregateFunction. So it will return quantiles(0.5, 0.9) when the column type is AggregateFunction(quantiles(0.5, 0.9), UInt64).
        Returns:
        function, null when column type is not AggregateFunction
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object