#include <coherence/util/SimpleQueryRecord.hpp>
Inherits Object, and PortableObject.
Public Types | |
typedef spec::Handle | Handle |
IndexLookupRecord Handle definition. | |
typedef spec::View | View |
IndexLookupRecord View definition. | |
typedef spec::Holder | Holder |
IndexLookupRecord Holder definition. | |
typedef this_spec::Handle | Handle |
PortableObject Handle definition. | |
typedef this_spec::View | View |
PortableObject View definition. | |
typedef this_spec::Holder | Holder |
PortableObject Holder definition. | |
Public Member Functions | |
virtual String::View | getExtractorDescription () const |
virtual String::View | getIndexDescription () const |
virtual bool | isOrdered () const |
int64_t | getMemoryUsage () const |
Returns index memory usage in bytes. | |
int32_t | getSize () const |
Return index content map size. | |
virtual String::View | getIndexDef () const |
Returns the index definition. | |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual bool | equals (Object::View v) const |
virtual size32_t | hashCode () const |
Return a hash code value for the Object. This method is supported for the benefit of hash-based containers.
The general contract of
The default implementation is identity based.
| |
Protected Member Functions | |
IndexLookupRecord () | |
Construct an IndexLookupRecord. | |
IndexLookupRecord (QueryRecord::PartialResult::IndexLookupRecord::View vThat) | |
Copy constructor for an IndexLookupRecord. | |
IndexLookupRecord (String::View vsExtractor, String::View vsIndex, bool fOrdered, int64_t cBytes, int32_t cDistinctValues, String::View vsIndexDef) | |
Construct an IndexLookupRecord. | |
virtual String::View | buildIndexDescription () |
Build an index description for this index. | |
virtual void | parseIndexDescription (String::View vsIndex) |
Parses an index description into it's definition, footprint, and map size. | |
Protected Attributes | |
FinalView< String > | f_vsExtractor |
The extractor description. | |
MemberView< String > | m_vsIndex |
The index description. | |
bool | m_fOrdered |
Indicates whether or not the associated index is ordered. | |
int64_t | m_cBytes |
The index footprint in bytes. | |
int32_t | m_cDistinctValues |
The index content map size. | |
MemberView< String > | m_vsIndexDef |
The index type description. |
IndexLookupRecord | ( | QueryRecord::PartialResult::IndexLookupRecord::View | vThat | ) | [protected] |
IndexLookupRecord | ( | String::View | vsExtractor, | |
String::View | vsIndex, | |||
bool | fOrdered, | |||
int64_t | cBytes, | |||
int32_t | cDistinctValues, | |||
String::View | vsIndexDef | |||
) | [protected] |
Construct an IndexLookupRecord.
vsExtractor | the extractor description | |
vsIndex | the index description | |
fOrdered | indicates whether or not the associated index is ordered |
int64_t getMemoryUsage | ( | ) | const |
Returns index memory usage in bytes.
int32_t getSize | ( | ) | const |
Return index content map size.
virtual String::View getIndexDef | ( | ) | const [virtual] |
Returns the index definition.
virtual String::View buildIndexDescription | ( | ) | [protected, virtual] |
Build an index description for this index.
virtual void parseIndexDescription | ( | String::View | vsIndex | ) | [protected, virtual] |
Parses an index description into it's definition, footprint, and map size.
vsIndex | the index description |