com.bigdata.mdi
Class SegmentMetadata
java.lang.Object
com.bigdata.mdi.AbstractResourceMetadata
com.bigdata.mdi.SegmentMetadata
- All Implemented Interfaces:
- IResourceMetadata, Params, Externalizable, Serializable, Cloneable
public class SegmentMetadata
- extends AbstractResourceMetadata
Metadata for a single IndexSegment.
- Version:
- $Id: SegmentMetadata.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
SegmentMetadata
public SegmentMetadata()
- De-serialization constructor.
SegmentMetadata
public SegmentMetadata(File file,
UUID uuid,
long commitTime)
isIndexSegment
public final boolean isIndexSegment()
- Description copied from interface:
IResourceMetadata
- True iff this resource is an
IndexSegment. Each
IndexSegment contains historical read-only data for exactly one
partition of a scale-out index.
isJournal
public final boolean isJournal()
- Description copied from interface:
IResourceMetadata
- True iff this resource is a
Journal. When the resource is a
Journal, there will be a named mutable btree on the journal that
is absorbing writes for one or more index partition of a scale-out index.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.