Package org.alfresco.solr.client
Class Node
- java.lang.Object
-
- org.alfresco.solr.client.Node
-
public class Node extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNode.SolrApiNodeStatus
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAclId()java.lang.IntegergetExplicitShardId()longgetId()java.lang.StringgetNodeRef()java.lang.StringgetShardPropertyValue()The property value to use for sharding - as requestedNode.SolrApiNodeStatusgetStatus()java.lang.StringgetTenant()longgetTxnId()voidsetAclId(long aclId)voidsetExplicitShardId(java.lang.Integer explicitShardId)voidsetId(long id)voidsetNodeRef(java.lang.String nodeRef)voidsetShardPropertyValue(java.lang.String shardPropertyValue)voidsetStatus(Node.SolrApiNodeStatus status)voidsetTenant(java.lang.String tenant)voidsetTxnId(long txnId)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getNodeRef
public java.lang.String getNodeRef()
-
setNodeRef
public void setNodeRef(java.lang.String nodeRef)
-
getTxnId
public long getTxnId()
-
setTxnId
public void setTxnId(long txnId)
-
getStatus
public Node.SolrApiNodeStatus getStatus()
-
setStatus
public void setStatus(Node.SolrApiNodeStatus status)
-
getTenant
public java.lang.String getTenant()
- Returns:
- the tenant
-
setTenant
public void setTenant(java.lang.String tenant)
- Parameters:
tenant- the tenant to set
-
getAclId
public long getAclId()
- Returns:
- the aclId
-
setAclId
public void setAclId(long aclId)
- Parameters:
aclId- the aclId to set
-
getShardPropertyValue
public java.lang.String getShardPropertyValue()
The property value to use for sharding - as requested- Returns:
- null - if the node does not have the property, the standard "String" value of the property if it is present on the node. For dates and datetime properties this will be the ISO formatted datetime.
-
setShardPropertyValue
public void setShardPropertyValue(java.lang.String shardPropertyValue)
-
getExplicitShardId
public java.lang.Integer getExplicitShardId()
-
setExplicitShardId
public void setExplicitShardId(java.lang.Integer explicitShardId)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-