Class Types.StructType

    • Method Detail

      • caseInsensitiveField

        public Types.NestedField caseInsensitiveField​(java.lang.String name)
      • isStructType

        public boolean isStructType()
      • asSchema

        public Schema asSchema()
        Returns a schema which contains the columns inside struct type. This method can be used to avoid expensive conversion of StructType containing large number of columns to Schema during manifest evaluation.
        Returns:
        the schema containing columns of struct type.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object