org.apache.pig.tools.grunt
Class PigCompletor
java.lang.Object
org.apache.pig.tools.grunt.PigCompletor
- All Implemented Interfaces:
- jline.Completor
public class PigCompletor
- extends Object
- implements jline.Completor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PigCompletor
public PigCompletor()
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 © 2012 The Apache Software Foundation