You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by da...@apache.org on 2016/03/04 20:48:45 UTC
[24/50] [abbrv] incubator-apex-core git commit: Updating operator
development guide
Updating operator development guide
Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/a4d2b738
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/a4d2b738
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/a4d2b738
Branch: refs/heads/master
Commit: a4d2b738f368677d033067eb86feb4cb85e7e4ad
Parents: 2136a3a
Author: sashadt <sa...@datatorrent.com>
Authored: Mon Nov 9 14:00:21 2015 -0800
Committer: Thomas Weise <th...@datatorrent.com>
Committed: Sun Feb 28 22:46:38 2016 -0800
----------------------------------------------------------------------
operator_development.md | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a4d2b738/operator_development.md
----------------------------------------------------------------------
diff --git a/operator_development.md b/operator_development.md
index a6a9343..7f887a8 100644
--- a/operator_development.md
+++ b/operator_development.md
@@ -302,18 +302,15 @@ The operator will exist physically as a class which implements the
Operator interface. This interface will require implementations for the
following method calls:
-``` java
-- setup(OperatorContext context)
-- beginWindow(long windowId)
-- endWindow()
-- tearDown()
-```
+- setup(OperatorContext context)
+- beginWindow(long windowId)
+- endWindow()
+- tearDown()
In order to simplify the creation of an operator, the Apache Apex
library also provides a base class “BaseOperator” which has empty
-implementations for these methods. Please refer to the [Getting
-Started](#h.dbmfyx6yasqs) section and the
-[Reference](#h.z10k75daf2xl) section for details on these.
+implementations for these methods. Please refer to the [Apex Operators](#apex_operators) section and the
+[Reference](#operator_reference) section for details on these.
We extend the class “BaseOperator” to create our own operator
“WordCountOperator”.