public ClusterSchemaTree getMatchedSchemaWithoutTemplate(final PartialPath fullPath) {
    final ClusterSchemaTree tree = new ClusterSchemaTree();
    final IDeviceSchema schema =
        tableDeviceSchemaCache.getDeviceSchema(
            Arrays.copyOf(fullPath.getNodes(), fullPath.getNodeLength() - 1));
    if (!(schema instanceof TreeDeviceNormalSchema)) {
      return tree;
    }
    final TreeDeviceNormalSchema treeSchema = (TreeDeviceNormalSchema) schema;
    final SchemaCacheEntry entry = treeSchema.getSchemaCacheEntry(fullPath.getMeasurement());
    if (Objects.isNull(entry)) {
      return tree;
    }
    tree.appendSingleMeasurement(
        fullPath, entry.getSchema(), entry.getTagMap(), null, null, treeSchema.isAligned());
    tree.setDatabases(Collections.singleton(treeSchema.getDatabase()));
    return tree;
  }
Get schema info under the given full path that must not be a template series.

@param fullPath full path
@return empty if cache miss
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TreeDeviceSchemaCacheManager.java