com.microsoft.azure.datalake.store.ExpiryOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-data-lake-store-sdk Show documentation
Show all versions of azure-data-lake-store-sdk Show documentation
Java SDK for Microsoft Azure Data Lake Store
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* See License.txt in the project root for license information.
*/
package com.microsoft.azure.datalake.store;
/**
* Enum specifying how to interpret the expiry time specified in setExpiry call.
*/
public enum ExpiryOption {
/**
* No expiry. ExpireTime is ignored.
*/
NeverExpire,
/**
* Interpret as miliseconds from now. ExpireTime is an integer in milliseconds representing the expiration date
* relative to when file expiration is updated
*/
RelativeToNow,
/**
* Interpet as milliseconds from the file's creation date+time. ExpireTime is an integer in milliseconds
* representing the expiration date relative to file creation
*/
RelativeToCreationDate,
/**
* Interpret as date/time. ExpireTime is an integer in milliseconds, as a Unix timestamp relative
* to 1/1/1970 00:00:00
*/
Absolute
}