@Override protected int getIndexOf(String name) { return metadata.getFirstIdx(name); }
/** * Returns the keyspace of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the keyspace of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getKeyspace(String name) { return getKeyspace(getFirstIdx(name)); }
/** * Returns the table of first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the table of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getTable(String name) { return getTable(getFirstIdx(name)); }
@Override public Token getToken(String name) { return getToken(metadata.getFirstIdx(name)); }
/** * Returns the type of the first occurrence of {@code name} in this metadata. * * <p>Note that this method does not set the {@link DataType#isFrozen()} flag on the returned * object, it will always default to {@code false}. Use {@link Cluster#getMetadata()} to determine * if a column is frozen. * * @param name the name of the column. * @return the type of (the first occurrence of) {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public DataType getType(String name) { return getType(getFirstIdx(name)); }
@Override protected int getIndexOf(String name) { return metadata.getFirstIdx(name); }
@Override protected int getIndexOf(String name) { return metadata.getFirstIdx(name); }
@Override protected int getIndexOf(String name) { return metadata.getFirstIdx(name); }
/** * Returns the keyspace of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the keyspace of (the first occurrence of) column {@code name} in this metadata. * * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getKeyspace(String name) { return getKeyspace(getFirstIdx(name)); }
/** * Returns the type of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the type of (the first occurrence of) {@code name} in this metadata. * * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public DataType getType(String name) { return getType(getFirstIdx(name)); }
/** * Returns the type of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the type of (the first occurrence of) {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public DataType getType(String name) { return getType(getFirstIdx(name)); }
/** * Returns the keyspace of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the keyspace of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getKeyspace(String name) { return getKeyspace(getFirstIdx(name)); }
/** * Returns the table of first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the table of (the first occurrence of) column {@code name} in this metadata. * * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getTable(String name) { return getTable(getFirstIdx(name)); }
/** * Returns the table of first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the table of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getTable(String name) { return getTable(getFirstIdx(name)); }
/** * Returns the table of first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the table of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getTable(String name) { return getTable(getFirstIdx(name)); }
/** * Returns the keyspace of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the keyspace of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getKeyspace(String name) { return getKeyspace(getFirstIdx(name)); }
/** * Returns the type of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the type of (the first occurrence of) {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public DataType getType(String name) { return getType(getFirstIdx(name)); }
/** * Returns the keyspace of the first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the keyspace of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getKeyspace(String name) { return getKeyspace(getFirstIdx(name)); }
/** * Returns the table of first occurrence of {@code name} in this metadata. * * @param name the name of the column. * @return the table of (the first occurrence of) column {@code name} in this metadata. * @throws IllegalArgumentException if {@code name} is not in this metadata. */ public String getTable(String name) { return getTable(getFirstIdx(name)); }
@Override public Token getToken(String name) { return getToken(metadata.getFirstIdx(name)); }