作者:刘胜良昭桂家贤 | 来源:互联网 | 2023-09-09 11:07
本文整理了Java中org.apache.hadoop.hive.shims.ZeroCopyShims
类的一些代码示例,展示了ZeroCopyShims
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZeroCopyShims
类的具体详情如下:
包路径:org.apache.hadoop.hive.shims.ZeroCopyShims
类名称:ZeroCopyShims
ZeroCopyShims介绍
暂无
代码示例
代码示例来源:origin: com.facebook.presto.hive/hive-apache
@Override
public DirectDecompressorShim getDirectDecompressor(DirectCompressionType codec) {
if(zeroCopy) {
return ZeroCopyShims.getDirectDecompressor(codec);
}
/* not supported */
return null;
}
代码示例来源:origin: org.spark-project.hive.shims/hive-shims-0.23
@Override
public ZeroCopyReaderShim getZeroCopyReader(FSDataInputStream in, ByteBufferPoolShim pool) throws IOException {
if(zeroCopy) {
return ZeroCopyShims.getZeroCopyReader(in, pool);
}
/* not supported */
return null;
}
代码示例来源:origin: com.github.hyukjinkwon.shims/hive-shims-0.23
@Override
public DirectDecompressorShim getDirectDecompressor(DirectCompressionType codec) {
if(zeroCopy) {
return ZeroCopyShims.getDirectDecompressor(codec);
}
/* not supported */
return null;
}
代码示例来源:origin: com.facebook.presto.hive/hive-apache
@Override
public ZeroCopyReaderShim getZeroCopyReader(FSDataInputStream in, ByteBufferPoolShim pool) throws IOException {
if(zeroCopy) {
return ZeroCopyShims.getZeroCopyReader(in, pool);
}
/* not supported */
return null;
}
代码示例来源:origin: org.spark-project.hive.shims/hive-shims-0.23
@Override
public DirectDecompressorShim getDirectDecompressor(DirectCompressionType codec) {
if(zeroCopy) {
return ZeroCopyShims.getDirectDecompressor(codec);
}
/* not supported */
return null;
}
代码示例来源:origin: com.github.hyukjinkwon.shims/hive-shims-0.23
@Override
public ZeroCopyReaderShim getZeroCopyReader(FSDataInputStream in, ByteBufferPoolShim pool) throws IOException {
if(zeroCopy) {
return ZeroCopyShims.getZeroCopyReader(in, pool);
}
/* not supported */
return null;
}