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


Java AbstractWriter类代码示例

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


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

示例1: getWriter

import org.apache.drill.exec.physical.base.AbstractWriter; //导入依赖的package包/类
@Override
public Writer getWriter(PhysicalOperator child) throws IOException {
  if (!(formatPlugin.supportsAutoPartitioning() ||
      partitionColumns == null || partitionColumns.size() == 0)) {
    throw UserException.unsupportedError().message(String.format("%s format does not support auto-partitioning.",
        formatPlugin.getName())).build(logger);
  }

  AbstractWriter writer = formatPlugin.getWriter(child, location, partitionColumns);
  writer.setStorageStrategy(storageStrategy);
  return writer;
}
 
开发者ID:axbaretto,项目名称:drill,代码行数:13,代码来源:FileSystemCreateTableEntry.java

示例2: getWriter

import org.apache.drill.exec.physical.base.AbstractWriter; //导入依赖的package包/类
@Override
public AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) throws IOException {
  return new EasyWriter(child, location, partitionColumns, this);
}
 
开发者ID:skhalifa,项目名称:QDrill,代码行数:5,代码来源:EasyFormatPlugin.java

示例3: getWriter

import org.apache.drill.exec.physical.base.AbstractWriter; //导入依赖的package包/类
@Override
public AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) throws IOException {
  return new ParquetWriter(child, location, partitionColumns, this);
}
 
开发者ID:skhalifa,项目名称:QDrill,代码行数:5,代码来源:ParquetFormatPlugin.java

示例4: getWriter

import org.apache.drill.exec.physical.base.AbstractWriter; //导入依赖的package包/类
@Override
public AbstractWriter getWriter(PhysicalOperator child, String location,
    List<String> partitionColumns) throws IOException {
  throw new UnsupportedOperationException();
}
 
开发者ID:axbaretto,项目名称:drill,代码行数:6,代码来源:StreamsFormatPlugin.java

示例5: getWriter

import org.apache.drill.exec.physical.base.AbstractWriter; //导入依赖的package包/类
public AbstractWriter getWriter(PhysicalOperator child, String location, List<String> partitionColumns) throws IOException; 
开发者ID:skhalifa,项目名称:QDrill,代码行数:2,代码来源:FormatPlugin.java


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