Package com.osohq.oso
Class Ffi.Polar
- java.lang.Object
 - 
- com.osohq.oso.Ffi.Polar
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearRules()protected voidfinalize()protected jnr.ffi.Pointerget()protected voidload(org.json.JSONArray sources)protected longnewId()protected Ffi.QuerynewQueryFromStr(String queryStr)protected Ffi.QuerynewQueryFromTerm(String queryTerm)protected Ffi.QuerynextInlineQuery()protected jnr.ffi.PointernextMessage()protected voidregisterConstant(String value, String name)protected voidregisterMro(String name, String mro) 
 - 
 
- 
- 
Method Detail
- 
get
protected jnr.ffi.Pointer get()
 
- 
newId
protected long newId()
 
- 
load
protected void load(org.json.JSONArray sources) throws Exceptions.OsoException- Throws:
 Exceptions.OsoException
 
- 
clearRules
protected void clearRules() throws Exceptions.OsoException- Throws:
 Exceptions.OsoException
 
- 
newQueryFromStr
protected Ffi.Query newQueryFromStr(String queryStr) throws Exceptions.OsoException
- Throws:
 Exceptions.OsoException
 
- 
newQueryFromTerm
protected Ffi.Query newQueryFromTerm(String queryTerm) throws Exceptions.OsoException
- Throws:
 Exceptions.OsoException
 
- 
nextInlineQuery
protected Ffi.Query nextInlineQuery() throws Exceptions.OsoException
- Throws:
 Exceptions.OsoException
 
- 
registerConstant
protected void registerConstant(String value, String name) throws Exceptions.OsoException
- Throws:
 Exceptions.OsoException
 
- 
registerMro
protected void registerMro(String name, String mro) throws Exceptions.OsoException
- Throws:
 Exceptions.OsoException
 
- 
nextMessage
protected jnr.ffi.Pointer nextMessage() throws Exceptions.OsoException- Throws:
 Exceptions.OsoException
 
 - 
 
 -