code: public final EntityMetadata getEntityMetadata() {
          EntityMetadata metadata = null;
          try {
              metadata = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, entityClass);
          } catch (KunderaException e) {
              logger.info("No Entity class provided, Proceeding as Scalar Query");
          }
          if (!this.isNativeQuery && metadata == null) {
              throw new KunderaException("Unable to load entity metadata for : " + entityClass);
          }
          return metadata;
      }
docs: Gets the entity metadata.
  
  @return the entity metadata