OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlFilter.java
Go to the documentation of this file.
1 package com.mapd.parser.extension.ddl;
2 
3 import com.google.gson.annotations.Expose;
4 
5 import java.util.Arrays;
6 public class SqlFilter implements JsonSerializableDdl {
7  public enum Operation { EQUALS, LIKE }
8  public enum Chain { AND, OR }
9  @Expose
10  private String attribute;
11  @Expose
12  private String value;
13  @Expose
15  @Expose
16  private Chain chain;
17 
18  public SqlFilter(final String attribute,
19  final String value,
20  final Operation operation,
21  final Chain chain) {
22  this.attribute = attribute;
23  this.value = value;
24  this.operation = operation;
25  this.chain = chain;
26  }
27 }
SqlFilter(final String attribute, final String value, final Operation operation, final Chain chain)
Definition: SqlFilter.java:18