public abstract class StaticColumnLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected ResultSetLoader |
loader |
protected ResultVectorCache |
vectorCache |
Constructor and Description |
---|
StaticColumnLoader(ResultVectorCache vectorCache) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
abstract VectorContainer |
load(int rowCount)
Populate static vectors with the defined static values.
|
protected final ResultSetLoader loader
protected final ResultVectorCache vectorCache
public StaticColumnLoader(ResultVectorCache vectorCache)
public abstract VectorContainer load(int rowCount)
rowCount
- number of rows to generate. Must match the
row count in the batch returned by the readerpublic void close()
Copyright © 1970 The Apache Software Foundation. All rights reserved.