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
- com.
- com.
- com.
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 Time |
java.lang.Boolean |
isFollowed()
Get indicates whether the database is followed. |
Provisioning |
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 Time |
Database |
statistics()
Get the statistics of the database. |
Read |
withHotCachePeriod(Period hotCachePeriod)
Set the time the data should be kept in cache for fast queries in Time |
Read |
withSoftDeletePeriod(Period softDeletePeriod)
Set the time the data should be kept before it stops being accessible to queries in Time |
Read |
withStatistics(DatabaseStatistics statistics)
Set the statistics of the database. |
Methods inherited from com.microsoft.azure.ProxyResource
Methods inherited from com.microsoft.azure.management.kusto.v2020_09_18.implementation.DatabaseInner
Methods inherited from java.lang.Object
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:
isFollowed
public Boolean isFollowed()
Get indicates whether the database is followed.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'.
Returns:
softDeletePeriod
public Period softDeletePeriod()
Get the time the data should be kept before it stops being accessible to queries in TimeSpan.
Returns:
statistics
public DatabaseStatistics statistics()
Get the statistics of the database.
Returns:
withHotCachePeriod
public ReadWriteDatabase withHotCachePeriod(Period hotCachePeriod)
Set the time the data should be kept in cache for fast queries in TimeSpan.
Parameters:
Returns:
withSoftDeletePeriod
public ReadWriteDatabase withSoftDeletePeriod(Period softDeletePeriod)
Set the time the data should be kept before it stops being accessible to queries in TimeSpan.
Parameters:
Returns:
withStatistics
public ReadWriteDatabase withStatistics(DatabaseStatistics statistics)
Set the statistics of the database.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for