Package mondrian.util
Mondrian utilities.
-
Interface Summary Interface Description ClassResolver Instantiates a class.FilteredIterableList.Filter<T> Filter to determine which elements should be shown.LockBox.Entry Entry in aLockBox
.MemoryMonitor API for Mondrian's memory monitors.MemoryMonitor.Listener AMemoryMonitor
client implements theListener
interface and registers with theMemoryMonitor
.MemoryMonitor.Test This is an interface that aMemoryMonitor
may optionally implement.ObjectFactory.Context This is for testing only.PartiallyOrderedSet.Ordering<E> Ordering relation.SpatialValueTree<K,E,V> A SpatialValueTree is a multidimensional index of values.SpatialValueTree.SpatialRegion<K,E> Describes a spatial region within aSpatialValueTree
.SpatialValueTree2 Variation of Luc's SpatialValueTree.SpatialValueTree2.SpatialDimension SpatialValueTree2.SpatialRegion SpatialValueTree2.SpatialRegionRequest A request for a region.UtilCompatible Interface containing methods which are implemented differently in different versions of the JDK. -
Class Summary Class Description AbstractMemoryMonitor Abstract implementation ofMemoryMonitor
.ArraySortedSet<E extends Comparable<E>> Implementation ofSortedSet
based on an array.ArrayStack<E> Stack implementation based onArrayList
.Base64 Encodes and decodes to and from Base64 notation.Base64.InputStream ABase64.InputStream
will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.Base64.OutputStream ABase64.OutputStream
will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.BeanMap View of an object as a map.BlockingHashMap<K,V> A limited Map implementation which supports waiting for a value to be available when calling get().Bug Holder for constants which indicate whether particular issues have been fixed.ByteString Collection of bytes.CacheMap<S,T> Map with limited size to be used as cache.CancellationChecker Encapsulates cancel and timeouts checksCartesianProductList<T> List that generates the cartesian product of its component lists.ClassResolver.AbstractClassResolver Partial implementation ofClassResolver
.ClassResolver.ThreadContextClassResolver Implementation ofClassResolver
that callsThread.getContextClassLoader()
on the current thread.CombiningGenerator<E> A list that, given a collection of elements, contains every possible combination of those objects (also known as the power set of those objects).CompletedFuture<V> Implementation ofFuture
that has already completed.Composite Composite collections.CompositeList<T> List composed of several lists.ConcatenableList<T> List backed by a collection of sub-lists.Counters A collection of counters.DelegatingInvocationHandler A class derived fromDelegatingInvocationHandler
handles a method call by looking for a method in itself with identical parameters.ExpiringReference<T> An expiring reference is a subclass ofSoftReference
which pins the reference in memory until a certain timeout is reached.FauxMemoryMonitor TheFauxMemoryMonitor
implements theMemoryMonitor
interface but does nothing: all methods are empty.FilteredIterableList<T> Iterable list which filters undesirable elements.Format Format
formats numbers, strings and dates according to the same specification as Visual Basic'sformat()
function.Format.FormatLocale A FormatLocale contains all information necessary to format objects based upon the locale of the end-user.IdentifierParser Utilities for parsing fully-qualified member names, tuples, member lists, and tuple lists.IdentifierParser.BuilderImpl Implementation of Builder that resolves segment lists to members.IdentifierParser.MemberListBuilder Implementation of Builder that builds a member list.IdentifierParser.TupleBuilder Implementation of Builder that builds a tuple.IdentifierParser.TupleListBuilder Implementation of Builder that builds a tuple list.IteratorIterable<E> Iterable over an iterator.LockBox Provides a way to pass objects via a string moniker.MDCUtil MdcUtil is a small helper class for copying log4j MDC context between threads.MemoryMonitorFactory TheMemoryMonitorFactory
is used to get the application'sMemoryMonitor
.NotificationMemoryMonitor TheNotificationMemoryMonitor
class uses the Java5 memory management system to detect system low memory events.ObjectFactory<V> Concrete derived classes of the genericObjectFactory
class are used to produce an implementation of an interface (a normal interface implementation or a Proxy).ObjectFactory.Singleton<T> Implementation of ObjectFactory that returns only a single instance of the Object.ObjectPool<T> AnObjectPool
is a low-memory replacement for aHashSet
.Pair<L,R> Pair of values.PartiallyOrderedSet<E> Partially-ordered set.PropertyUtil Utilities to generate MondrianProperties.java and mondrian.properties from property definitions in MondrianProperties.xml.Schedule ASchedule
generates a series of time events.ServiceDiscovery<T> Utility functions to discover Java services.SlotFuture<V> Implementation ofFuture
that completes when a thread writes a value (or an exception) into a slot.StringKey Type-safe value that contains an immutable string.TraversalList<T> Implementation ofList
for transposing an array of lists.Triple<T0,T1,T2> Tuple of three values.UnionIterator<T> Iterator over union of severalIterable
collections.UnsupportedList<T> Implementation ofList
where all methods throw an UnsupportedOperationException exception except for theisEmpty
method.UtilCompatibleJdk15 Implementation ofUtilCompatible
which runs in JDK 1.5.UtilCompatibleJdk16 Implementation ofUtilCompatible
that runs in JDK 1.6.XmlParserFactoryProducer Class was created to prevent XXE Security Vulnerabilities http://jira.pentaho.com/browse/PPP-3506 Created by Yury_Bakhmutski on 10/21/2016. -
Exception Summary Exception Description CreationException