public static List<String> getReplicationDbProps() {
    return Arrays.stream(ReplConst.class.getDeclaredFields())
            .filter(field -> Modifier.isStatic(field.getModifiers()))
            .map(field -> {
              try {
                String prop = (String) field.get(String.class);
                return prop.replace("\"", "");
              } catch (IllegalAccessException e) {
                LOG.error("Failed to collect replication specific properties. Reason: ", e);
                throw new RuntimeException(e);
              }
            }).collect(Collectors.toList());
  }
Determines whether a table is an external table.

@param table table of interest

@return true if external
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java