code: public static HiveRegister get(State props, Optional<String> metastoreURI) {
      return get(props.getProp(HIVE_REGISTER_TYPE, DEFAULT_HIVE_REGISTER_TYPE), 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.