public static ArrayDataType getArray(DataType type) {
        return new ArrayDataType(type);
    }
Returns an array datatype, where the array elements are of the given type

@param type the type to create an array of
@return the array data type
document/src/main/java/com/yahoo/document/DataType.java