org.apache.hadoop.io.OutputBuffer源码实例Demo

类org.apache.hadoop.io.OutputBuffer源码实例Demo

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

源代码1 项目: hadoop   文件: BasicTypeSorterBase.java
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
 
源代码2 项目: big-c   文件: BasicTypeSorterBase.java
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
 
源代码3 项目: RDFS   文件: BasicTypeSorterBase.java
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
 
源代码4 项目: hadoop-gpu   文件: BasicTypeSorterBase.java
public MRSortResultIterator(OutputBuffer keyValBuffer, 
                            int []pointers, int []startOffsets,
                            int []keyLengths, int []valLengths) {
  this.count = pointers.length;
  this.pointers = pointers;
  this.startOffsets = startOffsets;
  this.keyLengths = keyLengths;
  this.valLengths = valLengths;
  this.keyValBuffer = keyValBuffer;
}
 
源代码5 项目: hadoop   文件: BasicTypeSorterBase.java
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
 
源代码6 项目: hadoop   文件: BasicTypeSorterBase.java
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
 
源代码7 项目: big-c   文件: BasicTypeSorterBase.java
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
 
源代码8 项目: big-c   文件: BasicTypeSorterBase.java
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
 
源代码9 项目: RDFS   文件: BasicTypeSorterBase.java
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
 
源代码10 项目: RDFS   文件: BasicTypeSorterBase.java
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
 
源代码11 项目: hadoop-gpu   文件: BasicTypeSorterBase.java
public void setInputBuffer(OutputBuffer buffer) {
  //store a reference to the keyValBuffer that we need to read during sort
  this.keyValBuffer = buffer;
}
 
源代码12 项目: hadoop-gpu   文件: BasicTypeSorterBase.java
private void reset(OutputBuffer d, int start, int length) 
  throws IOException {
  data = d.getData();
  this.start = start;
  dataSize = length;
}
 
源代码13 项目: hadoop   文件: BufferSorter.java
/** The user class invokes this method to set the buffer that the specific 
 * sort algorithm should "indirectly" sort (generally, sort algorithm impl 
 * should access this buffer via comparators and sort offset-indices to the
 * buffer).
 * @param buffer the map output buffer
 */
public void setInputBuffer(OutputBuffer buffer);
 
源代码14 项目: big-c   文件: BufferSorter.java
/** The user class invokes this method to set the buffer that the specific 
 * sort algorithm should "indirectly" sort (generally, sort algorithm impl 
 * should access this buffer via comparators and sort offset-indices to the
 * buffer).
 * @param buffer the map output buffer
 */
public void setInputBuffer(OutputBuffer buffer);
 
源代码15 项目: RDFS   文件: BufferSorter.java
/** The user class invokes this method to set the buffer that the specific 
 * sort algorithm should "indirectly" sort (generally, sort algorithm impl 
 * should access this buffer via comparators and sort offset-indices to the
 * buffer).
 * @param buffer the map output buffer
 */
public void setInputBuffer(OutputBuffer buffer);
 
源代码16 项目: hadoop-gpu   文件: BufferSorter.java
/** The user class invokes this method to set the buffer that the specific 
 * sort algorithm should "indirectly" sort (generally, sort algorithm impl 
 * should access this buffer via comparators and sort offset-indices to the
 * buffer).
 * @param buffer the map output buffer
 */
public void setInputBuffer(OutputBuffer buffer);
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法