arjun4084346 commented on a change in pull request #3042: URL: https://github.com/apache/incubator-gobblin/pull/3042#discussion_r440910388
########## File path: gobblin-runtime/src/main/java/org/apache/gobblin/runtime/api/SpecSearchObject.java ########## @@ -0,0 +1,24 @@ +/* + * 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.gobblin.runtime.api; + +/** + * This is an interface to package all the parameters that should be used to search {@link Spec} in a {@link SpecStore} + */ +public interface SpecSearchObject { Review comment: This is a "marker interface" to package parameters for search queries. So far, FlowSpecSearchObject implements this, which has some unique set of params suitable for a FlowSpec. In future, it can be implemented to package params suitable for TopologySpec s ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org