org.apache.pig.tools.grunt
Class PigCompletor

java.lang.Object
  extended by org.apache.pig.tools.grunt.PigCompletor
All Implemented Interfaces:
jline.Completor

public class PigCompletor
extends Object
implements jline.Completor


Constructor Summary
PigCompletor()
           
 
Method Summary
 int complete(String buffer, int cursor, List candidates)
           
static boolean loadCandidateKeywords(InputStream stream, Set<String> candidates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PigCompletor

public PigCompletor()
Method Detail

loadCandidateKeywords

public static boolean loadCandidateKeywords(InputStream stream,
                                            Set<String> candidates)
                                     throws IOException
Throws:
IOException

complete

public int complete(String buffer,
                    int cursor,
                    List candidates)
Specified by:
complete in interface jline.Completor


Copyright © 2007-2012 The Apache Software Foundation