[ https://issues.apache.org/jira/browse/METRON-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961861#comment-15961861 ]
ASF GitHub Bot commented on METRON-831: --------------------------------------- Github user jjmeyer0 commented on a diff in the pull request: https://github.com/apache/incubator-metron/pull/517#discussion_r110520191 --- Diff: metron-platform/metron-common/src/main/java/org/apache/metron/common/stellar/LambdaExpression.java --- @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.metron.common.stellar; + +import org.apache.metron.common.dsl.Token; +import org.apache.metron.common.dsl.VariableResolver; + +import java.util.*; --- End diff -- Nit, explode star import > Add lambda expressions and rudimentary functional programming primitives to > Stellar > ----------------------------------------------------------------------------------- > > Key: METRON-831 > URL: https://issues.apache.org/jira/browse/METRON-831 > Project: Metron > Issue Type: Improvement > Reporter: Casey Stella > > To enable use-cases where the user may want to do simple iteration, we can > expose simple functional primitives such as: > * MAP > * REDUCE > * FILTER > To fully support this, we will need lambda expressions as arguments to these > functions. -- This message was sent by Atlassian JIRA (v6.3.15#6346)