Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brfrn169 committed Jun 19, 2024
1 parent 3fc64b0 commit 92f7221
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions core/src/main/java/com/scalar/db/api/TableMetadata.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.Set;
import javax.annotation.concurrent.Immutable;

/** A class that represents the table metadata */
/** A class that represents the table metadata. */
@Immutable
public class TableMetadata {

Expand Down Expand Up @@ -46,7 +46,7 @@ private TableMetadata(
}

/**
* Creates a new builder instance
* Creates a new builder instance.
*
* @return a new builder instance
*/
Expand All @@ -55,7 +55,7 @@ public static Builder newBuilder() {
}

/**
* Creates a new builder instance based on a prototype
* Creates a new builder instance based on a prototype.
*
* @param prototype a prototype for a new builder
* @return a new builder instance
Expand All @@ -65,7 +65,7 @@ public static Builder newBuilder(TableMetadata prototype) {
}

/**
* Returns the column names of the table
* Returns the column names of the table.
*
* @return an {@code LinkedHashSet} of the column names
*/
Expand All @@ -74,7 +74,7 @@ public LinkedHashSet<String> getColumnNames() {
}

/**
* Returns the data type of the specified column
* Returns the data type of the specified column.
*
* @param columnName a column name to retrieve the data type
* @return the {@code DataType} of the specified column
Expand All @@ -84,7 +84,7 @@ public DataType getColumnDataType(String columnName) {
}

/**
* Returns the map of the columns names and the data types
* Returns the map of the columns names and the data types.
*
* @return the map of the columns names and the data types
*/
Expand All @@ -93,7 +93,7 @@ public Map<String, DataType> getColumnDataTypes() {
}

/**
* Returns the partition-key column names
* Returns the partition-key column names.
*
* @return an {@code LinkedHashSet} of the partition-key column names
*/
Expand All @@ -102,7 +102,7 @@ public LinkedHashSet<String> getPartitionKeyNames() {
}

/**
* Returns the clustering-key column names
* Returns the clustering-key column names.
*
* @return an {@code LinkedHashSet} of the clustering-key column names
*/
Expand All @@ -111,7 +111,7 @@ public LinkedHashSet<String> getClusteringKeyNames() {
}

/**
* Returns the clustering order of the specified clustering-key column
* Returns the clustering order of the specified clustering-key column.
*
* @param clusteringKeyName a clustering-key column name to retrieve the order
* @return the clustering order of the specified clustering-key column
Expand All @@ -121,7 +121,7 @@ public Scan.Ordering.Order getClusteringOrder(String clusteringKeyName) {
}

/**
* Returns the map of the clustering-key column names and the clustering orders
* Returns the map of the clustering-key column names and the clustering orders.
*
* @return the map of the clustering-key column names and the clustering orders
*/
Expand All @@ -130,7 +130,7 @@ public Map<String, Scan.Ordering.Order> getClusteringOrders() {
}

/**
* Returns the secondary-index column names
* Returns the secondary-index column names.
*
* @return an {@code Set} of the secondary-index column names
*/
Expand All @@ -139,7 +139,7 @@ public Set<String> getSecondaryIndexNames() {
}

/**
* Returns the encrypted column names
* Returns the encrypted column names.
*
* @return an {@code Set} of the encrypted column names
*/
Expand Down Expand Up @@ -176,7 +176,7 @@ public int hashCode() {
secondaryIndexNames);
}

/** A builder class that creates a TableMetadata instance */
/** A builder class that creates a TableMetadata instance. */
public static final class Builder {
private final LinkedHashMap<String, DataType> columns = new LinkedHashMap<>();
private final LinkedHashSet<String> partitionKeyNames = new LinkedHashSet<>();
Expand Down

0 comments on commit 92f7221

Please sign in to comment.