2 * Copyright © 2019 PANTHEON.tech, s.r.o. and others. All rights reserved.
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 package org.opendaylight.ovsdb.lib.schema.typed;
10 import com.google.common.collect.Range;
11 import org.eclipse.jdt.annotation.Nullable;
12 import org.opendaylight.ovsdb.lib.notation.Row;
13 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
15 public final class GetTable extends MethodDispatch.TablePrototype {
16 private static final class Invoker extends MethodDispatch.TableInvoker {
17 Invoker(final GenericTableSchema tableSchema) {
23 Object invokeMethod(final Row<GenericTableSchema> row, final Object proxy, final Object[] args) {
28 GetTable(final String tableName) {
29 super(Range.all(), tableName);
33 Invoker bindToImpl(final TypedDatabaseSchema dbSchema) {
34 return new Invoker(findTableSchema(dbSchema));