Subscribes a query as a live query for use with future create and update events.
In OrientDB, a Live Query is essentially a
SELECT statement with push functionality. The database identifies the records that the query would return, anytime a record is added that fits the query and anytime the records returned by the query are changed, OrientDB pushes the changes through to the listener. Using this method, you can subscribe a query as a live query then configure how your application receives updates from OrientDB.
OLiveQueryMonitor ODatabaseDocument().live( String query, OLiveQueryResultListener listener Map<String, ?> args) OLiveQueryMonitor ODatabaseDocument().live( String query, OLiveQueryResultListener listener Object... args)
||Query to define the records you want to monitor|
||Provides the listener to receive query results|
||Object...`||Arguments used in formatting the query|
This method returns an