Class DeltaQueryInfo
java.lang.Object
tech.oxfordsemantic.jrdfox.client.DeltaQueryInfo
public class DeltaQueryInfo
extends java.lang.Object
Encapsulates information about a delta query.
-
Constructor Summary
Constructors Constructor Description DeltaQueryInfo(java.lang.String name, java.lang.String uniqueID, Query query, java.lang.String formatName, int snapshotsMaxSize, int deletionsMaxSize, int additionsMaxSize, long lastDataStoreVersionWithSnapshot, long lastDataStoreVersionWithDeletion, long lastDataStoreVersionWithAddition)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object that)
int
getAdditionsMaxSize()
Returns the additions max size of a delta query.int
getDeletionsMaxSize()
Returns the deletions max size of a delta query.java.lang.String
getFormatName()
Returns the format name of a delta query.long
getLastDataStoreVersionWithAddition()
Returns the last data store version with addition of a delta query.long
getLastDataStoreVersionWithDeletion()
Returns the last data store version with deletion of a delta query.long
getLastDataStoreVersionWithSnapshot()
Returns the last data store version with snapshot of a delta query.java.lang.String
getName()
Returns the name of a delta query.Query
getQuery()
Returns the query of a delta query.int
getSnapshotsMaxSize()
Returns the snapshots max size of a delta query.java.lang.String
getUniqueID()
Returns the unique ID of a delta query.int
hashCode()
-
Constructor Details
-
DeltaQueryInfo
public DeltaQueryInfo(java.lang.String name, java.lang.String uniqueID, Query query, java.lang.String formatName, int snapshotsMaxSize, int deletionsMaxSize, int additionsMaxSize, long lastDataStoreVersionWithSnapshot, long lastDataStoreVersionWithDeletion, long lastDataStoreVersionWithAddition)
-
-
Method Details
-
getName
public java.lang.String getName()Returns the name of a delta query.- Returns:
- the name of a delta query
-
getUniqueID
public java.lang.String getUniqueID()Returns the unique ID of a delta query.- Returns:
- the unique ID of a delta query
-
getQuery
Returns the query of a delta query.- Returns:
- the query of a delta query
-
getFormatName
public java.lang.String getFormatName()Returns the format name of a delta query.- Returns:
- the format name of a delta query
-
getSnapshotsMaxSize
public int getSnapshotsMaxSize()Returns the snapshots max size of a delta query. A value of 0 indicates that no snapshot values should be recorded. A value of int.MAX_VALUE indicates that all snapshot values should be recorded (i.e. there is no maximum file size).- Returns:
- the snapshot max size of a delta query
-
getDeletionsMaxSize
public int getDeletionsMaxSize()Returns the deletions max size of a delta query. A value of 0 indicates that no deleted values should be recorded. A value of int.MAX_VALUE indicates that all deletions should be recorded (i.e. there is no maximum file size).- Returns:
- the deletions max size of a delta query
-
getAdditionsMaxSize
public int getAdditionsMaxSize()Returns the additions max size of a delta query. A value of 0 indicates that no added values should be recorded. A value of int.MAX_VALUE indicates that all additions should be recorded (i.e. there is no maximum file size).- Returns:
- the additions max size of a delta query
-
getLastDataStoreVersionWithSnapshot
public long getLastDataStoreVersionWithSnapshot()Returns the last data store version with snapshot of a delta query.- Returns:
- the last data store version with snapshot of a delta query
-
getLastDataStoreVersionWithDeletion
public long getLastDataStoreVersionWithDeletion()Returns the last data store version with deletion of a delta query.- Returns:
- the last data store version with deletion of a delta query
-
getLastDataStoreVersionWithAddition
public long getLastDataStoreVersionWithAddition()Returns the last data store version with addition of a delta query.- Returns:
- the last data store version with addition of a delta query
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)- Overrides:
equals
in classjava.lang.Object
-