Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] docs: fix Java doc of type (#1068)

mchades021114c2674c
diff --git a/api/src/main/java/com/datastrato/gravitino/rel/types/Types.java b/api/src/main/java/com/datastrato/gravitino/rel/types/Types.java
index 5865e7ec24..2f1307d9e1 100644
--- a/api/src/main/java/com/datastrato/gravitino/rel/types/Types.java
+++ b/api/src/main/java/com/datastrato/gravitino/rel/types/Types.java
@@ -351,7 +351,10 @@ public class Types {
}
}
- /** The string type in Gravitino. */
+ /**
+ * The string type in Gravitino, equivalent to varchar(MAX), which the MAX is determined by the
+ * underlying catalog.
+ */
public static class StringType extends Type.PrimitiveType {
private static final StringType INSTANCE = new StringType();
@@ -395,7 +398,10 @@ public class Types {
}
}
- /** The fixed string type in Gravitino. */
+ /**
+ * Fixed-length byte array type, if you want to use variable-length byte array, use {@link
+ * BinaryType} instead.
+ */
public static class FixedType extends Type.PrimitiveType {
/**
@@ -542,10 +548,7 @@ public class Types {
}
}
- /**
- * The binary type in Gravitino. Note, this type is not supported in the current version of
- * Gravitino.
- */
+ /** The binary type in Gravitino. */
public static class BinaryType extends Type.PrimitiveType {
private static final BinaryType INSTANCE = new BinaryType();