public class RedshiftPath extends RedshiftObject implements Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
boolean |
open
True if the path is open, false if closed.
|
RedshiftPoint[] |
points
The points defining this path.
|
type, value| Constructor and Description |
|---|
RedshiftPath()
Required by the driver.
|
RedshiftPath(RedshiftPoint[] points,
boolean open) |
RedshiftPath(String s) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
This must be overidden to allow the object to be cloned.
|
void |
closePath() |
boolean |
equals(Object obj)
This must be overidden to allow comparisons of objects.
|
String |
getValue()
This returns the path in the syntax expected by com.amazon.redshift.
|
int |
hashCode()
Compute hash.
|
boolean |
isClosed() |
boolean |
isOpen() |
void |
openPath() |
void |
setValue(String s)
This method sets the value of this object.
|
getType, setType, toStringpublic boolean open
public RedshiftPoint[] points
public RedshiftPath(RedshiftPoint[] points, boolean open)
points - the RedshiftPoints that define the pathopen - True if the path is open, false if closedpublic RedshiftPath()
public RedshiftPath(String s) throws SQLException
s - definition of the path in Redshift's syntax.SQLException - on conversion failurepublic void setValue(String s) throws SQLException
RedshiftObjectsetValue in class RedshiftObjects - Definition of the path in Redshift's syntaxSQLException - on conversion failurepublic boolean equals(Object obj)
RedshiftObjectequals in class RedshiftObjectobj - Object to compare withpublic int hashCode()
RedshiftObjecthashCode in class RedshiftObjectObjects.hashCode(Object)public Object clone() throws CloneNotSupportedException
RedshiftObjectclone in class RedshiftObjectCloneNotSupportedExceptionpublic String getValue()
getValue in class RedshiftObjectpublic boolean isOpen()
public boolean isClosed()
public void closePath()
public void openPath()
Copyright © 2024 Amazon.com Inc.. All rights reserved.