2 * Copyright (C) 2013 Red Hat, Inc.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 * Authors : Madhu Venugopal
10 package org.opendaylight.ovsdb.lib.operations;
12 import java.util.List;
14 import org.opendaylight.ovsdb.lib.notation.Condition;
16 public class SelectOperation extends Operation {
18 List<Condition> where;
21 public SelectOperation(String table, List<Condition> where, List<String> columns) {
23 super.setOp("select");
26 this.columns = columns;
28 public String getTable() {
31 public void setTable(String table) {
34 public List<Condition> getWhere() {
37 public void setWhere(List<Condition> where) {
40 public List<String> getColumns() {
43 public void setColumns(List<String> columns) {
44 this.columns = columns;
47 public String toString() {
48 return "SelectOperation [table=" + table + ", where=" + where
49 + ", columns=" + columns + "]";