org.apache.hadoop.hive.ql.metadata.Table.getSerdeParam()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.7k)|赞(0)|评价(0)|浏览(184)

本文整理了Java中org.apache.hadoop.hive.ql.metadata.Table.getSerdeParam()方法的一些代码示例,展示了Table.getSerdeParam()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.getSerdeParam()方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.metadata.Table
类名称:Table
方法名:getSerdeParam

Table.getSerdeParam介绍

暂无

代码示例

代码示例来源:origin: apache/hive

  1. if (tab.getSerdeParam(prop.getKey()) != null) {
  2. LOG.warn("SerDe property in input query overrides stored SerDe property");

代码示例来源:origin: apache/drill

  1. if (tab.getSerdeParam(prop.getKey()) != null) {
  2. LOG.warn("SerDe property in input query overrides stored SerDe property");

代码示例来源:origin: apache/hive

  1. .getSerdeParam(serdeConstants.SERIALIZATION_FORMAT);
  2. String importedSerdeFormat = tableDesc.getSerdeProps().get(
  3. serdeConstants.SERIALIZATION_FORMAT);

代码示例来源:origin: apache/drill

  1. .getSerdeParam(serdeConstants.SERIALIZATION_FORMAT);
  2. String importedSerdeFormat = tableDesc.getSerdeProps().get(
  3. serdeConstants.SERIALIZATION_FORMAT);

代码示例来源:origin: apache/lens

  1. tblDesc.setInputFormat(tbl.getInputFormatClass().getCanonicalName());
  2. tblDesc.setOutputFormat(tbl.getOutputFormatClass().getCanonicalName());
  3. tblDesc.setFieldDelimiter(tbl.getSerdeParam(serdeConstants.FIELD_DELIM));
  4. tblDesc.setLineDelimiter(tbl.getSerdeParam(serdeConstants.LINE_DELIM));
  5. tblDesc.setCollectionDelimiter(tbl.getSerdeParam(serdeConstants.COLLECTION_DELIM));
  6. tblDesc.setMapKeyDelimiter(tbl.getSerdeParam(serdeConstants.MAPKEY_DELIM));
  7. tblDesc.setEscapeChar(tbl.getSerdeParam(serdeConstants.ESCAPE_CHAR));
  8. tblDesc.setSerdeClassName(tbl.getSerializationLib());
  9. tblDesc.setStorageHandlerName(tbl.getStorageHandler() != null

代码示例来源:origin: org.apache.lens/lens-cube

  1. tblDesc.setInputFormat(tbl.getInputFormatClass().getCanonicalName());
  2. tblDesc.setOutputFormat(tbl.getOutputFormatClass().getCanonicalName());
  3. tblDesc.setFieldDelimiter(tbl.getSerdeParam(serdeConstants.FIELD_DELIM));
  4. tblDesc.setLineDelimiter(tbl.getSerdeParam(serdeConstants.LINE_DELIM));
  5. tblDesc.setCollectionDelimiter(tbl.getSerdeParam(serdeConstants.COLLECTION_DELIM));
  6. tblDesc.setMapKeyDelimiter(tbl.getSerdeParam(serdeConstants.MAPKEY_DELIM));
  7. tblDesc.setEscapeChar(tbl.getSerdeParam(serdeConstants.ESCAPE_CHAR));
  8. tblDesc.setSerdeClassName(tbl.getSerializationLib());
  9. tblDesc.setStorageHandlerName(tbl.getStorageHandler() != null

代码示例来源:origin: apache/lens

  1. Table alteredC1Table = client.getTable(c1TableName);
  2. assertEquals(alteredC1Table.getInputFormatClass(), SequenceFileInputFormat.class);
  3. assertEquals(alteredC1Table.getSerdeParam(serdeConstants.FIELD_DELIM), ":");

代码示例来源:origin: com.facebook.presto.hive/hive-apache

  1. .getSerdeParam(serdeConstants.SERIALIZATION_FORMAT);
  2. String importedSerdeFormat = tableDesc.getSerdeProps().get(
  3. serdeConstants.SERIALIZATION_FORMAT);

相关文章

Table类方法