本文整理汇总了Java中org.apache.parquet.io.api.GroupConverter类的典型用法代码示例。如果您正苦于以下问题:Java GroupConverter类的具体用法?Java GroupConverter怎么用?Java GroupConverter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
GroupConverter类属于org.apache.parquet.io.api包,在下文中一共展示了GroupConverter类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: FilteringGroupConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
public FilteringGroupConverter(
GroupConverter delegate,
List<Integer> indexFieldPath,
Map<ColumnPath, List<ValueInspector>> valueInspectorsByColumn, Map<List<Integer>,
PrimitiveColumnIO> columnIOsByIndexFieldPath) {
this.delegate = checkNotNull(delegate, "delegate");
this.indexFieldPath = checkNotNull(indexFieldPath, "indexFieldPath");
this.columnIOsByIndexFieldPath = checkNotNull(columnIOsByIndexFieldPath, "columnIOsByIndexFieldPath");
this.valueInspectorsByColumn = checkNotNull(valueInspectorsByColumn, "valueInspectorsByColumn");
}
开发者ID:apache,项目名称:parquet-mr,代码行数:12,代码来源:FilteringGroupConverter.java
示例2: State
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
private State(int id, PrimitiveColumnIO primitiveColumnIO, ColumnReader column, int[] nextLevel, GroupConverter[] groupConverterPath, PrimitiveConverter primitiveConverter) {
this.id = id;
this.primitiveColumnIO = primitiveColumnIO;
this.maxDefinitionLevel = primitiveColumnIO.getDefinitionLevel();
this.maxRepetitionLevel = primitiveColumnIO.getRepetitionLevel();
this.column = column;
this.nextLevel = nextLevel;
this.groupConverterPath = groupConverterPath;
this.primitiveConverter = primitiveConverter;
this.primitive = primitiveColumnIO.getType().asPrimitiveType().getPrimitiveTypeName();
this.fieldPath = primitiveColumnIO.getFieldPath();
this.primitiveField = fieldPath[fieldPath.length - 1];
this.indexFieldPath = primitiveColumnIO.getIndexFieldPath();
this.primitiveFieldIndex = indexFieldPath[indexFieldPath.length - 1];
}
开发者ID:apache,项目名称:parquet-mr,代码行数:16,代码来源:RecordReaderImplementation.java
示例3: GroupFieldhandler
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
public GroupFieldhandler(GroupConverter delegate, final ThriftField field, List<TProtocol> events) {
this.delegate = delegate;
this.events = events;
this.readFieldBegin = new ParquetProtocol("readFieldBegin()") {
@Override
public TField readFieldBegin() throws TException {
return new TField(field.getName(), field.getType().getType().getThriftType(), field.getFieldId());
}
};
}
开发者ID:apache,项目名称:parquet-mr,代码行数:11,代码来源:ThriftRecordConverter.java
示例4: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
@Override
public GroupConverter getRootConverter() {
return root;
}
开发者ID:dremio,项目名称:dremio-oss,代码行数:5,代码来源:ParquetRecordMaterializer.java
示例5: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
@Override
public GroupConverter getRootConverter()
{
return root;
}
开发者ID:CyberAgent,项目名称:embulk-input-parquet_hadoop,代码行数:6,代码来源:MessagePackRecordMaterializer.java
示例6: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
@Override
public GroupConverter getRootConverter() {
return this.root;
}
开发者ID:gchq,项目名称:Gaffer,代码行数:5,代码来源:ElementRecordMaterialiser.java
示例7: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
@Override
public GroupConverter getRootConverter() {
return _converter;
}
开发者ID:h2oai,项目名称:h2o-3,代码行数:5,代码来源:ChunkRecordMaterializer.java
示例8: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
@Override
public GroupConverter getRootConverter() {
return rootConverter;
}
开发者ID:apache,项目名称:parquet-mr,代码行数:5,代码来源:FilteringRecordMaterializer.java
示例9: ConverterConsumer
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
public ConverterConsumer(GroupConverter recordConsumer, MessageType schema) {
this.root = recordConsumer;
this.schema = schema;
}
开发者ID:apache,项目名称:parquet-mr,代码行数:5,代码来源:ConverterConsumer.java
示例10: GroupCounter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
public GroupCounter(GroupConverter delegate) {
this.delegate = delegate;
}
开发者ID:apache,项目名称:parquet-mr,代码行数:4,代码来源:ThriftRecordConverter.java
示例11: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
/**
* Returns the root converter.
*
* @return The root converter
*/
@Override
public GroupConverter getRootConverter() {
return root;
}
开发者ID:apache,项目名称:tajo,代码行数:10,代码来源:TajoRecordMaterializer.java
示例12: getRootConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
/**
*
* {@inheritDoc}
* @see org.apache.parquet.io.api.RecordMaterializer#getRootConverter()
*/
@Override
public GroupConverter getRootConverter() {
return structConverter;
}
开发者ID:apache,项目名称:parquet-mr,代码行数:10,代码来源:ThriftRecordConverter.java
示例13: asGroupConverter
import org.apache.parquet.io.api.GroupConverter; //导入依赖的package包/类
@Override public GroupConverter asGroupConverter() { return new DumpGroupConverter(); }
开发者ID:apache,项目名称:parquet-mr,代码行数:2,代码来源:DumpCommand.java
注:本文中的org.apache.parquet.io.api.GroupConverter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论