hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java
public static String getLocation(Record metadataRecord) throws HiveStageCheckedException{
    if (metadataRecord.has(SEP + LOCATION_FIELD)) {
      return metadataRecord.get(SEP + LOCATION_FIELD).getValueAsString();
    }
    throw new HiveStageCheckedException(Errors.HIVE_17, LOCATION_FIELD, metadataRecord);
  }
public static String getLocation(Record metadataRecord) throws HiveStageCheckedException{
    if (metadataRecord.has(SEP + LOCATION_FIELD)) {
      return metadataRecord.get(SEP + LOCATION_FIELD).getValueAsString();
    }
    throw new HiveStageCheckedException(Errors.HIVE_17, LOCATION_FIELD, metadataRecord);
  }
public static String getLocation ( Record metadataRecord ) throws HiveStageCheckedException { if ( metadataRecord . has ( SEP + LOCATION_FIELD ) ) { return metadataRecord . get ( SEP + LOCATION_FIELD ) . getValueAsString ( ) ; } throw new HiveStageCheckedException ( Errors . HIVE_17 , LOCATION_FIELD , metadataRecord ) ; }
Get Location from the metadata record.
@param metadataRecord the metadata record
@return location
@throws HiveStageCheckedException if the location field does not exist in the metadata record.
Get Location from the metadata record .