File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
polaris-core/src/main/java/org/apache/polaris/core/persistence Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,14 @@ void deleteAllEntityGrantRecords(
147147
148148 /**
149149 * Lookup an entity given its catalog id (which can be {@link
150- * org.apache.polaris.core.entity.PolarisEntityConstants#NULL_ID} for top-level entities) and its
151- * entityId.
150+ * org.apache.polaris.core.entity.PolarisEntityConstants#NULL_ID} for top-level entities), its
151+ * entityId and type code (from {@link PolarisEntityType#getCode()}.
152+ *
153+ * <p>The type code parameter is redundant but can be used to optimize implementations in some
154+ * cases. All callers are required to provide a valid value for the type code parameter. If the
155+ * given type code does not match the type code of the previously created entity with the
156+ * specified {@code entityId}, implementations may still return the entity or may behave as if the
157+ * entity were not found.
152158 *
153159 * @param callCtx call context
154160 * @param catalogId catalog id or NULL_ID
You can’t perform that action at this time.
0 commit comments