ReadWriteDatabase Class

  • java.lang.Object
    • com.microsoft.azure.ProxyResource
      • com.microsoft.azure.management.kusto.v2020_09_18.implementation.DatabaseInner
        • com.microsoft.azure.management.kusto.v2020_09_18.ReadWriteDatabase

public class ReadWriteDatabase
extends com.microsoft.azure.management.kusto.v2020_09_18.implementation.DatabaseInner

Class representing a read write database.

Constructor Summary

Constructor Description
ReadWriteDatabase()

Method Summary

Modifier and Type Method and Description
org.joda.time.Period hotCachePeriod()

Get the time the data should be kept in cache for fast queries in TimeSpan.

java.lang.Boolean isFollowed()

Get indicates whether the database is followed.

ProvisioningState provisioningState()

Get the provisioned state of the resource.

org.joda.time.Period softDeletePeriod()

Get the time the data should be kept before it stops being accessible to queries in TimeSpan.

DatabaseStatistics statistics()

Get the statistics of the database.

ReadWriteDatabase withHotCachePeriod(Period hotCachePeriod)

Set the time the data should be kept in cache for fast queries in TimeSpan.

ReadWriteDatabase withSoftDeletePeriod(Period softDeletePeriod)

Set the time the data should be kept before it stops being accessible to queries in TimeSpan.

ReadWriteDatabase withStatistics(DatabaseStatistics statistics)

Set the statistics of the database.

Methods inherited from com.microsoft.azure.ProxyResource

com.microsoft.azure.ProxyResource.id com.microsoft.azure.ProxyResource.name com.microsoft.azure.ProxyResource.type

Methods inherited from com.microsoft.azure.management.kusto.v2020_09_18.implementation.DatabaseInner

com.microsoft.azure.management.kusto.v2020_09_18.implementation.DatabaseInner.location com.microsoft.azure.management.kusto.v2020_09_18.implementation.DatabaseInner.withLocation

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ReadWriteDatabase

public ReadWriteDatabase()

Method Details

hotCachePeriod

public Period hotCachePeriod()

Get the time the data should be kept in cache for fast queries in TimeSpan.

Returns:

the hotCachePeriod value

isFollowed

public Boolean isFollowed()

Get indicates whether the database is followed.

Returns:

the isFollowed value

provisioningState

public ProvisioningState provisioningState()

Get the provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'.

Returns:

the provisioningState value

softDeletePeriod

public Period softDeletePeriod()

Get the time the data should be kept before it stops being accessible to queries in TimeSpan.

Returns:

the softDeletePeriod value

statistics

public DatabaseStatistics statistics()

Get the statistics of the database.

Returns:

the statistics value

withHotCachePeriod

public ReadWriteDatabase withHotCachePeriod(Period hotCachePeriod)

Set the time the data should be kept in cache for fast queries in TimeSpan.

Parameters:

hotCachePeriod - the hotCachePeriod value to set

Returns:

the ReadWriteDatabase object itself.

withSoftDeletePeriod

public ReadWriteDatabase withSoftDeletePeriod(Period softDeletePeriod)

Set the time the data should be kept before it stops being accessible to queries in TimeSpan.

Parameters:

softDeletePeriod - the softDeletePeriod value to set

Returns:

the ReadWriteDatabase object itself.

withStatistics

public ReadWriteDatabase withStatistics(DatabaseStatistics statistics)

Set the statistics of the database.

Parameters:

statistics - the statistics value to set

Returns:

the ReadWriteDatabase object itself.

Applies to