code: public static HiveRegister get(State props) {
      Optional<String> metastoreUri =
          Optional.fromNullable(props.getProperties().getProperty(HIVE_METASTORE_URI_KEY));
  
      return get(props, metastoreUri);
    }
docs: Get an instance of {@link HiveRegister}.
  
  @param props A {@link State} object. To get a specific implementation of {@link HiveRegister},
  specify property {@link #HIVE_REGISTER_TYPE} as the class name. Otherwise, {@link #DEFAULT_HIVE_REGISTER_TYPE}
  will be returned. This {@link State} object is also used to instantiate the {@link HiveRegister} object.