org.apache.hadoop.io.SequenceFile.ValueBytes源码实例Demo

类org.apache.hadoop.io.SequenceFile.ValueBytes源码实例Demo

下面列出了org.apache.hadoop.io.SequenceFile.ValueBytes 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: hadoop   文件: BasicTypeSorterBase.java
public ValueBytes getValue() throws IOException {
  //value[i] is stored in the following byte range:
  //startOffsets[i] + keyLengths[i] through valLengths[i]
  value.reset(keyValBuffer,
              startOffsets[currStartOffsetIndex] + keyLengths[currStartOffsetIndex],
              valLengths[currStartOffsetIndex]);
  return value;
}
 
源代码2 项目: big-c   文件: BasicTypeSorterBase.java
public ValueBytes getValue() throws IOException {
  //value[i] is stored in the following byte range:
  //startOffsets[i] + keyLengths[i] through valLengths[i]
  value.reset(keyValBuffer,
              startOffsets[currStartOffsetIndex] + keyLengths[currStartOffsetIndex],
              valLengths[currStartOffsetIndex]);
  return value;
}
 
源代码3 项目: RDFS   文件: BasicTypeSorterBase.java
public ValueBytes getValue() throws IOException {
  //value[i] is stored in the following byte range:
  //startOffsets[i] + keyLengths[i] through valLengths[i]
  value.reset(keyValBuffer,
              startOffsets[currStartOffsetIndex] + keyLengths[currStartOffsetIndex],
              valLengths[currStartOffsetIndex]);
  return value;
}
 
源代码4 项目: hadoop-gpu   文件: BasicTypeSorterBase.java
public ValueBytes getValue() throws IOException {
  //value[i] is stored in the following byte range:
  //startOffsets[i] + keyLengths[i] through valLengths[i]
  value.reset(keyValBuffer,
              startOffsets[currStartOffsetIndex] + keyLengths[currStartOffsetIndex],
              valLengths[currStartOffsetIndex]);
  return value;
}
 
如果文章对您有帮助,请点击页面广告。以鼓励作者做出的努力。
 类所在包
 类方法
 同包方法