/** * @param ctx Kernal context. */ public GridQueryProcessor(GridKernalContext ctx) throws IgniteCheckedException { super(ctx); if (idxCls != null) { idx = U.newInstance(idxCls); idxCls = null; } else idx = INDEXING.inClassPath() ? U.<GridQueryIndexing>newInstance(INDEXING.className()) : null; valCtx = new CacheQueryObjectValueContext(ctx); ioLsnr = new GridMessageListener() { @Override public void onMessage(UUID nodeId, Object msg, byte plc) { if (msg instanceof SchemaOperationStatusMessage) { SchemaOperationStatusMessage msg0 = (SchemaOperationStatusMessage)msg; msg0.senderNodeId(nodeId); processStatusMessage(msg0); } else U.warn(log, "Unsupported IO message: " + msg); } }; }
/** * @param ctx Kernal context. */ public GridQueryProcessor(GridKernalContext ctx) throws IgniteCheckedException { super(ctx); if (idxCls != null) { idx = U.newInstance(idxCls); idxCls = null; } else idx = INDEXING.inClassPath() ? U.<GridQueryIndexing>newInstance(INDEXING.className()) : null; valCtx = new CacheQueryObjectValueContext(ctx); ioLsnr = new GridMessageListener() { @Override public void onMessage(UUID nodeId, Object msg, byte plc) { if (msg instanceof SchemaOperationStatusMessage) { SchemaOperationStatusMessage msg0 = (SchemaOperationStatusMessage)msg; msg0.senderNodeId(nodeId); processStatusMessage(msg0); } else U.warn(log, "Unsupported IO message: " + msg); } }; }