Github user Quikling commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1261#discussion_r124917078
  
    --- Diff: 
pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/examples/DummyAccessor.java 
---
    @@ -0,0 +1,46 @@
    +package org.apache.hawq.pxf.api.examples;
    +
    +import org.apache.hawq.pxf.api.OneRow;
    +import org.apache.hawq.pxf.api.ReadAccessor;
    +import org.apache.hawq.pxf.api.utilities.InputData;
    +import org.apache.hawq.pxf.api.utilities.Plugin;
    +import org.apache.commons.logging.Log;
    +import org.apache.commons.logging.LogFactory;
    +
    +public class DummyAccessor extends Plugin implements ReadAccessor {
    +    private static final Log LOG = LogFactory.getLog(DummyAccessor.class);
    +    private int rowNumber;
    +    private int fragmentNumber;
    +    public DummyAccessor(InputData metaData) {
    +        super(metaData);
    +    }
    +    @Override
    +    public boolean openForRead() throws Exception {
    +        /* fopen or similar */
    --- End diff --
    
    It's an example of what function might go there. Will update the comment to 
reflect what the function currently does.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to