# Tables

<pre class="language-java"><code class="lang-java">public class YourTableName extends Table&#x3C;YourTableName> {

<strong>    public static final @NotNull String TABLE_NAME = "test";
</strong>
    @Override
    public @NotNull String getName() {
        return TestTable.TABLE_NAME;
    }

    @Override
    public @NotNull TestRecord createEmpty(@NotNull PrimaryFieldMap identifiers) {
        return new TestRecord(identifiers.getString(TestRecord.IDENTIFIER_KEY));
    }
}
</code></pre>

This is the basics and normally is good enough.\
However, you can create your own tailored methods to help query your table.

```java
public @NotNull String getFirstValue() {
    return this.getFirstRecord().waitAndGet().getIdentifier();
}
```
