Class SparkSchema

    • Constructor Detail

      • SparkSchema

        public SparkSchema()
    • Method Detail

      • flatten

        public SparkSchema flatten​(boolean expandArrays)
      • flatten

        public org.apache.spark.sql.types.StructType flatten​(String parent,
                                                             Map<String,​SparkSchema> schemas,
                                                             boolean expand)
      • setMethodName

        public void setMethodName​(String fieldName,
                                  String methodName)
      • getMethodName

        public String getMethodName​(String fieldName)
      • setStructType

        public void setStructType​(org.apache.spark.sql.types.StructType structType)
      • getStructType

        public org.apache.spark.sql.types.StructType getStructType()
      • getArraySize

        public int getArraySize()
      • setArraySize

        public void setArraySize​(int arraySize)
      • isFlattened

        public boolean isFlattened()
        Returns:
        if this schema represents a flattened field on the root entity