OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Restriction.java
Go to the documentation of this file.
1 /*
2  * Copyright 2022 HEAVY.AI, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package org.apache.calcite.rel.rules;
18 
19 import java.util.List;
20 
21 public class Restriction {
22  public Restriction(
23  String rDatabase, String rTable, String rColumn, List<String> rValues) {
24  this.rDatabase = rDatabase;
25  this.rTable = rTable;
26  this.rColumn = rColumn;
27  this.rValues = rValues;
28  }
30  return rDatabase;
31  };
33  return rTable;
34  };
36  return rColumn;
37  };
38  List<String> getRestrictionValues() {
39  return rValues;
40  };
41  private String rDatabase;
42  private String rTable;
43  private String rColumn;
44  private List<String> rValues;
45 }
Restriction(String rDatabase, String rTable, String rColumn, List< String > rValues)