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 booleanequals(java.lang.Object that)intgetAdditionsMaxSize()Returns the additions max size of a delta query.intgetDeletionsMaxSize()Returns the deletions max size of a delta query.java.lang.StringgetFormatName()Returns the format name of a delta query.longgetLastDataStoreVersionWithAddition()Returns the last data store version with addition of a delta query.longgetLastDataStoreVersionWithDeletion()Returns the last data store version with deletion of a delta query.longgetLastDataStoreVersionWithSnapshot()Returns the last data store version with snapshot of a delta query.java.lang.StringgetName()Returns the name of a delta query.QuerygetQuery()Returns the query of a delta query.intgetSnapshotsMaxSize()Returns the snapshots max size of a delta query.java.lang.StringgetUniqueID()Returns the unique ID of a delta query.inthashCode()
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object that)- Overrides:
equalsin classjava.lang.Object
-