|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Public @InterfaceStability.Evolving public interface LoadPushDown
This interface defines how to communicate to Pig what functionality can be pushed into the loader. If a given loader does not implement this interface it will be assumed that it is unable to accept any functionality for push down.
| Nested Class Summary | |
|---|---|
static class |
LoadPushDown.OperatorSet
Set of possible operations that Pig can push down to a loader. |
static class |
LoadPushDown.RequiredField
Describes a field that is required to execute a scripts. |
static class |
LoadPushDown.RequiredFieldList
List of fields that Pig knows to be required to executed a script. |
static class |
LoadPushDown.RequiredFieldResponse
Indicates whether the loader will return the requested fields or all fields. |
| Method Summary | |
|---|---|
List<LoadPushDown.OperatorSet> |
getFeatures()
Determine the operators that can be pushed to the loader. |
LoadPushDown.RequiredFieldResponse |
pushProjection(LoadPushDown.RequiredFieldList requiredFieldList)
Indicate to the loader fields that will be needed. |
| Method Detail |
|---|
List<LoadPushDown.OperatorSet> getFeatures()
LoadPushDown.RequiredFieldResponse pushProjection(LoadPushDown.RequiredFieldList requiredFieldList)
throws FrontendException
requiredFieldList - RequiredFieldList indicating which columns will be needed.
This structure is read only. User cannot make change to it inside pushProjection.
FrontendException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||