@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxDataviewSegmentConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
Constructor and Description |
---|
KxDataviewSegmentConfiguration() |
Modifier and Type | Method and Description |
---|---|
KxDataviewSegmentConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDbPaths()
The database path of the data that you want to place on each selected volume for the segment.
|
Boolean |
getOnDemand()
Enables on-demand caching on the selected database path when a particular file or a column of the database is
accessed.
|
String |
getVolumeName()
The name of the volume where you want to add data.
|
int |
hashCode() |
Boolean |
isOnDemand()
Enables on-demand caching on the selected database path when a particular file or a column of the database is
accessed.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment.
|
void |
setOnDemand(Boolean onDemand)
Enables on-demand caching on the selected database path when a particular file or a column of the database is
accessed.
|
void |
setVolumeName(String volumeName)
The name of the volume where you want to add data.
|
String |
toString()
Returns a string representation of this object.
|
KxDataviewSegmentConfiguration |
withDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment.
|
KxDataviewSegmentConfiguration |
withDbPaths(String... dbPaths)
The database path of the data that you want to place on each selected volume for the segment.
|
KxDataviewSegmentConfiguration |
withOnDemand(Boolean onDemand)
Enables on-demand caching on the selected database path when a particular file or a column of the database is
accessed.
|
KxDataviewSegmentConfiguration |
withVolumeName(String volumeName)
The name of the volume where you want to add data.
|
public List<String> getDbPaths()
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
public void setDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
dbPaths
- The database path of the data that you want to place on each selected volume for the segment. Each segment
must have a unique database path for each volume.public KxDataviewSegmentConfiguration withDbPaths(String... dbPaths)
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
NOTE: This method appends the values to the existing list (if any). Use
setDbPaths(java.util.Collection)
or withDbPaths(java.util.Collection)
if you want to override
the existing values.
dbPaths
- The database path of the data that you want to place on each selected volume for the segment. Each segment
must have a unique database path for each volume.public KxDataviewSegmentConfiguration withDbPaths(Collection<String> dbPaths)
The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
dbPaths
- The database path of the data that you want to place on each selected volume for the segment. Each segment
must have a unique database path for each volume.public void setVolumeName(String volumeName)
The name of the volume where you want to add data.
volumeName
- The name of the volume where you want to add data.public String getVolumeName()
The name of the volume where you want to add data.
public KxDataviewSegmentConfiguration withVolumeName(String volumeName)
The name of the volume where you want to add data.
volumeName
- The name of the volume where you want to add data.public void setOnDemand(Boolean onDemand)
Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.
onDemand
- Enables on-demand caching on the selected database path when a particular file or a column of the database
is accessed. When on demand caching is True, dataviews perform minimal loading of files on the
filesystem as needed. When it is set to False, everything is cached. The default value is
False.public Boolean getOnDemand()
Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.
public KxDataviewSegmentConfiguration withOnDemand(Boolean onDemand)
Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.
onDemand
- Enables on-demand caching on the selected database path when a particular file or a column of the database
is accessed. When on demand caching is True, dataviews perform minimal loading of files on the
filesystem as needed. When it is set to False, everything is cached. The default value is
False.public Boolean isOnDemand()
Enables on-demand caching on the selected database path when a particular file or a column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as needed. When it is set to False, everything is cached. The default value is False.
public String toString()
toString
in class Object
Object.toString()
public KxDataviewSegmentConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.