2 * [[ Authors will Fill in the Copyright header ]]
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 : Brent Salisbury, Evan Zeller
10 package org.opendaylight.ovsdb.lib.database;
14 import com.fasterxml.jackson.annotation.JsonProperty;
16 public class TableSchema {
18 @JsonProperty("columns")
19 private Map<String, ColumnSchema> columns;
21 @JsonProperty("maxRows")
22 private Integer maxRows;
24 @JsonProperty("isRoot")
25 private Boolean isRoot;
27 @JsonProperty("indexes")
28 private Object indexes;
30 public Map<String, ColumnSchema> getColumns() {
34 public ColumnSchema getColumn(String columnName) {
35 return this.columns.get(columnName);
38 public Integer getMaxRows() {
42 public Boolean getIsRoot() {
46 public Object getIndexes() {
51 public String toString() {
52 return "TableSchema [columns=" + columns + ", maxRows=" + maxRows
53 + ", isRoot=" + isRoot + ", indexes=" + indexes + "]";