SqlPartitionOption.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for SqlPartitionOption. */
public final class SqlPartitionOption extends ExpandableStringEnum<SqlPartitionOption> {
/** Static value None for SqlPartitionOption. */
public static final SqlPartitionOption NONE = fromString("None");
/** Static value PhysicalPartitionsOfTable for SqlPartitionOption. */
public static final SqlPartitionOption PHYSICAL_PARTITIONS_OF_TABLE = fromString("PhysicalPartitionsOfTable");
/** Static value DynamicRange for SqlPartitionOption. */
public static final SqlPartitionOption DYNAMIC_RANGE = fromString("DynamicRange");
/**
* Creates or finds a SqlPartitionOption from its string representation.
*
* @param name a name to look for.
* @return the corresponding SqlPartitionOption.
*/
@JsonCreator
public static SqlPartitionOption fromString(String name) {
return fromString(name, SqlPartitionOption.class);
}
/** @return known SqlPartitionOption values. */
public static Collection<SqlPartitionOption> values() {
return values(SqlPartitionOption.class);
}
}