当前位置: 首页>>代码示例>>Java>>正文


Java SerDeParameters类代码示例

本文整理汇总了Java中org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters的典型用法代码示例。如果您正苦于以下问题:Java SerDeParameters类的具体用法?Java SerDeParameters怎么用?Java SerDeParameters使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


SerDeParameters类属于org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe包,在下文中一共展示了SerDeParameters类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: RegularTableMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
public RegularTableMapping(
        String colFamily,
        List<String> columnNames,
        SerDeParameters serdeParams) {
    super(colFamily, columnNames, serdeParams);
    this.iKey = cassandraColumnNames.indexOf(CassandraColumnSerDe.CASSANDRA_KEY_COLUMN);
}
 
开发者ID:2013Commons,项目名称:hive-cassandra,代码行数:8,代码来源:RegularTableMapping.java

示例2: TransposedMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
public TransposedMapping(
        String colFamily,
        List<String> columnNames,
        SerDeParameters serdeParams) throws SerDeException {
    super(colFamily, columnNames, serdeParams);
    this.iKey = cassandraColumnNames.indexOf(CassandraColumnSerDe.CASSANDRA_KEY_COLUMN);
    init();
}
 
开发者ID:2013Commons,项目名称:hive-cassandra,代码行数:9,代码来源:TransposedMapping.java

示例3: TableMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
protected TableMapping(String colFamily, List<String> columnNames, SerDeParameters serdeParams) {
    this.cassandraColumnFamily = colFamily;
    this.cassandraColumnNames = columnNames;

    separators = serdeParams.getSeparators();
    escaped = serdeParams.isEscaped();
    escapeChar = serdeParams.getEscapeChar();
    needsEscape = serdeParams.getNeedsEscape();
}
 
开发者ID:2013Commons,项目名称:hive-cassandra,代码行数:10,代码来源:TableMapping.java

示例4: TransposedMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
public TransposedMapping(
    String colFamily,
    List<String> columnNames,
    SerDeParameters serdeParams) throws SerDeException {
  super(colFamily, columnNames, serdeParams);
  init();
}
 
开发者ID:dvasilen,项目名称:Hive-Cassandra,代码行数:8,代码来源:TransposedMapping.java

示例5: TableMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
TableMapping(String colFamily, List<String> columnNames, SerDeParameters serdeParams) {
  this.cassandraColumnFamily = colFamily;
  this.cassandraColumnNames = columnNames;
  this.iKey = cassandraColumnNames.indexOf(AbstractColumnSerDe.CASSANDRA_KEY_COLUMN);

  separators = serdeParams.getSeparators();
  escaped = serdeParams.isEscaped();
  escapeChar = serdeParams.getEscapeChar();
  needsEscape = serdeParams.getNeedsEscape();
}
 
开发者ID:dvasilen,项目名称:Hive-Cassandra,代码行数:11,代码来源:TableMapping.java

示例6: CqlRegularTableMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
public CqlRegularTableMapping(
        String colFamily,
        List<String> columnNames,
        SerDeParameters serdeParams) {
    super(colFamily, columnNames, serdeParams);
}
 
开发者ID:2013Commons,项目名称:hive-cassandra,代码行数:7,代码来源:CqlRegularTableMapping.java

示例7: RegularTableMapping

import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters; //导入依赖的package包/类
public RegularTableMapping(
    String colFamily,
    List<String> columnNames,
    SerDeParameters serdeParams) {
  super(colFamily, columnNames, serdeParams);
}
 
开发者ID:dvasilen,项目名称:Hive-Cassandra,代码行数:7,代码来源:RegularTableMapping.java


注:本文中的org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe.SerDeParameters类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。