Package com.redis.vl.utils
Class Utils
java.lang.Object
com.redis.vl.utils.Utils
Utility methods for RedisVL.
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
Get current timestamp with microsecond precision.
-
Method Details
-
currentTimestamp
public static double currentTimestamp()Get current timestamp with microsecond precision.Matches Python's current_timestamp() from redisvl.utils.utils which uses time.time() returning seconds since epoch with microsecond precision (e.g., 1759898747.946505).
- Returns:
- Current time in seconds since epoch with microsecond precision as a double
-